/* ========================================================================
   npn.tw — Rounded direction components.css
   buttons (2 styles), header, footer, pills, destination card, product hero,
   plan selector. No serif, no editorial residue.
======================================================================== */

/* ====================================================================
   Buttons — only two styles: primary (filled) and outline
==================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform var(--motion-base),
    box-shadow var(--motion-base),
    background-color var(--motion-base),
    border-color var(--motion-base),
    color var(--motion-base);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Primary: filled orange（R8 補丁層已回併：hover/active 生效值即此處） */
.btn--primary {
  background: var(--color-brand);
  color: #fff;
  border-color: var(--color-brand);
  box-shadow: none; /* 粉圓橙：扁平 pill，質感靠描邊系統 */
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}
.btn--primary:hover {
  background: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--brand-alpha-30);
}
.btn--primary:active {
  background: var(--color-brand-darker);
  border-color: var(--color-brand-darker);
  color: #fff;
  transform: translateY(1px);
  box-shadow: none;
}

/* Outline: orange border + orange text, hover fills to primary（R8 已回併） */
.btn--outline,
.btn--ghost {
  background: #fff;
  color: var(--color-brand);
  border-color: var(--color-brand);
  box-shadow: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}
.btn--outline:hover,
.btn--ghost:hover {
  background: var(--color-brand);
  color: #fff;
  border-color: var(--color-brand);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--brand-alpha-20);
}
.btn--outline:active,
.btn--ghost:active {
  background: var(--color-brand-dark);
  color: #fff;
  border-color: var(--color-brand-dark);
  transform: translateY(1px);
  box-shadow: none;
}

.btn--block { width: 100%; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 16px; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13px; }

/* ====================================================================
   Site header
==================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(250, 246, 238, 0.92);
  border-bottom: none;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.site-header__inner {
  width: min(100% - (var(--container-pad) * 2), var(--container));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 112px;
  min-height: 44px;
}

.site-header__logo img {
  display: block;
  width: 108px;
  height: auto;
  max-height: 36px;
  object-fit: contain;
  mix-blend-mode: normal;
}

.site-header__nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.site-header__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  color: var(--color-ink-soft);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-header__link[aria-current="page"] {
  color: var(--color-brand-dark);
  background: var(--color-brand-soft);
}
/* R8 已回併：hover 文字色為 brand（蓋過 aria-current 的 brand-dark） */
.site-header__link:hover {
  color: var(--color-brand);
  background: var(--color-brand-soft);
}

.site-header__actions { display: flex; align-items: center; gap: 8px; }

.site-header__cart,
.site-header__menu-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  color: var(--color-ink);
  background: transparent;
  border: none;
  /* R8 已回併：transform 不列入 transition（補丁層原本以 color/bg 覆蓋掉 transform 過渡） */
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-header__cart:hover,
.site-header__menu-btn:hover {
  transform: translateY(-1px);
  background: var(--color-brand-soft);
  color: var(--color-brand);
}

.site-header__cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--color-brand);
  color: #fff;
  border: 2px solid var(--color-cream);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.site-header__cart-badge:empty { display: none; }

.site-header__menu-btn span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.site-header__menu-btn span:nth-child(1) { transform: translateY(-5px); }
.site-header__menu-btn span:nth-child(3) { transform: translateY(5px); }

.site-header__mobile-nav {
  width: min(100% - (var(--container-pad) * 2), var(--container));
  margin: 0 auto;
  padding: 12px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.site-header__mobile-nav:not([hidden]) {
  display: grid;
  gap: 4px;
}

.site-header__mobile-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 12px;
  color: var(--color-ink-soft);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  transition: color var(--motion-fast), background-color var(--motion-fast);
}

.site-header__mobile-nav a:hover {
  color: var(--color-brand-dark);
  background: var(--color-brand-soft);
}

@media (min-width: 768px) {
  .site-header__nav { display: flex; }
  .site-header__menu-btn { display: none; }
}

/* 斷點收編：720px 孤例併入 767/768 體系（原 max-width: 720px，僅影響 721–767px 帶） */
@media (max-width: 767px) {
  .site-header__logo { min-width: 96px; }
  .site-header__logo img { width: 98px; max-height: 32px; }
}

/* ====================================================================
   Site footer — warm light cream (no dark gray)
==================================================================== */
.site-footer {
  background: var(--color-ink);
  color: var(--color-cream);
  padding: 56px 0 24px;
  margin-top: 0;
}

.site-footer__inner {
  width: min(100% - (var(--container-pad) * 2), var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  line-height: 1;
}

.site-footer__logo img {
  display: block;
  width: 108px;
  height: auto;
  max-height: 36px;
  object-fit: contain;
}

.logo-text__dot { color: var(--color-brand); }

.site-footer__desc {
  max-width: 320px;
  /* §5：slogan 緊隨 logo 成一個視覺單元——去掉 14px 上距，僅留品牌欄 8px gap（§3.1 標題↔副標） */
  margin-top: 0;
  color: var(--color-ink-muted);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
}
/* §5：品牌欄（logo+slogan）內距收緊為 8px（其餘連結欄維持 10px 不動）；
   量測 logo→slogan 24px→8px；slogan→購買 維持 32px 頁尾欄節奏（品牌單元與連結區的分節距） */
.site-footer__inner > .site-footer__col:first-child {
  gap: 8px;
}

.site-footer__heading {
  margin: 0 0 14px;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.site-footer__col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer__col a {
  color: var(--color-ink-soft);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
}
/* R8 已回併：footer 全部連結統一 color 過渡與 hover 亮橙 */
.site-footer a { transition: color 0.2s ease; }
.site-footer a:hover { color: var(--color-brand); }

.site-footer__bottom {
  width: min(100% - (var(--container-pad) * 2), var(--container));
  margin: 36px auto 0;
  padding-top: 22px;
  color: var(--color-ink-muted);
  font-family: var(--font-sans);
  font-size: 12px;
}

@media (min-width: 768px) {
  .site-footer { padding-top: 64px; }
  .site-footer__inner {
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 48px;
  }
}

/* ====================================================================
   Toast
==================================================================== */
.npn-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-ink);
  color: var(--color-cream);
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lift);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  transition: opacity var(--motion-base), transform var(--motion-base);
  z-index: 1100;
  max-width: 90vw;
}

.npn-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ====================================================================
   Trust pills (text + dot, NOT button-like) + Filter chips
==================================================================== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--color-ink-muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: default;
}

.pill__icon {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  display: inline-block;
  background: var(--color-brand);
  border-radius: 50%;
  color: transparent;
  font-size: 0;
  line-height: 1;
}

/* Destination filter chips: rounded, friendly */
.dest-filters .chip,
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px; /* Phase 5：觸控目標 ≥44px */
  padding: 0 18px;
  border: 2px solid var(--color-rule-strong);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--color-ink-soft);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

/* R8 已回併：非 active 的 chip hover 帶淡橙底 */
.dest-filters .chip:not(.is-active):hover,
.chip:not(.is-active):hover {
  background-color: var(--color-brand-soft);
  border-color: var(--color-brand);
  color: var(--color-brand-dark);
}

.dest-filters .chip.is-active,
.chip.is-active {
  background: var(--color-brand);
  color: #fff;
  border-color: var(--color-brand);
}

/* ====================================================================
   Destination card — clean, no ink-stamp, no flag inner border
==================================================================== */
.dest-card {
  position: relative;
  min-width: 0;
  /* R9 包二：去 min-height——剩餘高度原本全灌進名-價格之間造成上緊下鬆；
     等高改由 grid 行拉伸提供，彈性空間配給旗區（見 __media flex:1） */
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 14px;
  padding: 20px 18px;
  border: 2px solid var(--color-rule);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.dest-card::before,
.dest-card::after { content: none; }

/* R8 已回併：hover 生效值＝實線品牌邊框＋中性陰影 */
.dest-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-brand);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Flag image: border hugs the actual flag pixels (height-based, width auto) */
.dest-card__image-wrap {
  flex: none;
  display: inline-block;
  width: auto;
  height: auto;
  max-width: 100%;
  margin: 4px auto 0;
  border: 0;
  background: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  text-align: center;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dest-card__image {
  display: block;
  width: auto;
  height: 56px;
  max-width: 100%;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  background: transparent;
  object-fit: contain;
}
@media (min-width: 768px) {
  .dest-card__image { height: 64px; }
}
@media (min-width: 1024px) {
  .dest-card__image { height: 72px; }
}

/* === Multi-country card flag variants === */
.dest-card__flags {
  margin: 4px auto 0;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
}

/* R2 bug(b)：並排小方旗有「語言切換方塊」既視感 → 重疊圓形旗徽 + 白圈（貼紙同源，讀作兩地合一） */
.dest-card__flags--row {
  display: flex;
  justify-content: center;
  align-items: center;
}
.dest-card__flags--row .dest-card__flag-img {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--color-rule);
  background: #fff;
  object-fit: cover;
}
.dest-card__flags--row .dest-card__flag-img + .dest-card__flag-img {
  margin-left: -12px;
}
.dest-card__flags--row.dest-card__flags--trio .dest-card__flag-img {
  width: 42px;
  height: 42px;
}

/* Badge: main flag/icon + country count */
.dest-card__flags--badge {
  position: relative;
  display: inline-block;
}
.dest-card__flags--badge .dest-card__flag-img {
  display: block;
  width: auto;
  height: 56px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  object-fit: contain;
}
.dest-card__flags--badge .dest-card__flag-img--svg {
  height: 64px;
  padding: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.dest-card__flag-count {
  position: absolute;
  bottom: -4px;
  right: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 11px;
  background: var(--color-brand);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
@media (min-width: 768px) {
  .dest-card__flags--row .dest-card__flag-img { width: 56px; height: 56px; }
  .dest-card__flags--row.dest-card__flags--trio .dest-card__flag-img { width: 48px; height: 48px; }
  .dest-card__flags--badge .dest-card__flag-img { height: 64px; }
  .dest-card__flags--badge .dest-card__flag-img--svg { height: 72px; }
}
@media (min-width: 1024px) {
  .dest-card__flags--row .dest-card__flag-img { width: 64px; height: 64px; }
  .dest-card__flags--row.dest-card__flags--trio .dest-card__flag-img { width: 54px; height: 54px; }
  .dest-card__flags--badge .dest-card__flag-img { height: 72px; }
  .dest-card__flags--badge .dest-card__flag-img--svg { height: 80px; }
}

.dest-card__body {
  min-width: 0;
  flex: 0 0 auto; /* R9：body 收緊固定，名-價格間隙恆定 */
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  text-align: center;
}

.dest-card__title {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: 0;
}

.dest-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

.dest-card__price {
  min-width: 0;
  color: var(--color-ink-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0;
  text-transform: none;
}

.dest-card__price strong {
  display: inline-block;
  margin-left: 4px;
  color: var(--color-brand-dark);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.dest-card__arrow {
  /* R-cardtag：32→40 觸控親和（整卡 <a> 本身即 ≥44px WCAG 目標，箭頭放大為視覺親和） */
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--color-cream-deep);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.dest-card:hover .dest-card__arrow {
  background: var(--color-brand);
  color: #fff;
  transform: translateX(3px);
}

@media (min-width: 768px) {
  .dest-card {
    min-height: 208px;
    padding: 24px 20px;
  }
  /* flag wrapper sizes itself from img height; no fixed dimensions here */
}

@media (max-width: 767px) {
  .dest-card {
    min-height: 188px;
    padding: 16px 14px;
    gap: 12px;
  }
  /* flag wrapper sizes itself from img height; no fixed dimensions here */
  /* R-cardtag：名稱行釋放後升層級——名稱/價格 15→16 */
  .dest-card__title { font-size: 16px; }
  .dest-card__footer { padding-top: 10px; }
  .dest-card__price { font-size: 12px; }
  .dest-card__price strong { font-size: 16px; }
  /* 窄卡角落貼紙：仍避開 20px 曲率區 */
  .dest-card__tag { top: 11px; right: 12px; padding: 2px 8px; }
}

/* ====================================================================
   Product page wrap
==================================================================== */
.product-page-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* Phase 5：min-width:0 讓價格表在窄屏走內部橫向捲動，不撐爆版面 */
  gap: 28px;
  margin-top: 16px; /* R-ink：下缝松回——面包屑墨底→旗顶 4px 贴死（12:1）→ ~14px 墨距；上:下 ≈34:14=2.4(390)/39:14=2.8(1440)，均落 ≤3:1 判据 */
}
.product-page-wrap > * {
  min-width: 0;
}

/* R-unify-3：麵包屑列——decision2 chip 移此列右側頁級徽章；line-height 1.3 消除導航行的隱形留白（原繼承 1.75，13px 字撐 23px 盒）；padding-right 保留徽章區避免長名重疊 */
.product-head-bar { position: relative; }
.product-info__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
  line-height: 1.3;
  padding-right: 72px;
  color: var(--color-ink-muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
/* 頁級徽章：絕對定位右側、垂直對齊麵包屑行——不佔流、不影響 header→H1（對所有頁型一致）
   雙 class 選擇器：壓過後定義的基底 `.unlimited-chip{transform:rotate}`（否則 translateY 置中被覆蓋、徽章下墜壓到 H1） */
.unlimited-chip.unlimited-chip--head {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-2deg);
  font-size: var(--fs-12);
  line-height: 1;   /* R-unify-3：徽章不繼承 body 1.75（原致盒高 37px）；line-height 1 → 盒高 ~22px，貼齊麵包屑行、不壓標題 */
  padding: 3px 10px;
}

.product-info__breadcrumb a {
  color: var(--color-ink-muted);
  transition: color var(--motion-fast);
}
.product-info__breadcrumb a:hover { color: var(--color-brand-dark); }

/* R2-P1/P4：雙欄延後至 1200 並明確定位（左欄=hero/APN/價格表，右欄=購買選擇器 sticky） */
@media (min-width: 1200px) {
  .product-page-wrap {
    grid-template-columns: minmax(0, 1.1fr) minmax(400px, 0.9fr);
    align-items: start;
    gap: 48px;
  }
  .product-page-wrap > [data-render-plan-selector] {
    grid-column: 2;
    grid-row: 1 / span 3;
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }
  .product-page-wrap > .product-head,
  .product-page-wrap > .price-table-block {
    grid-column: 1;
  }
}

/* ====================================================================
   Product hero (rendered by js/products.js)
==================================================================== */







/* R3-審計A-H3：手機端 2+1/1+2 隨文案長度亂斷 → 統一 3×1 縱排 */
@media (max-width: 767px) {
  
}



@media (min-width: 768px) {
  
  
  
}

/* ====================================================================
   Plan selector — clean white panel, no top ink bar
==================================================================== */
.plan-selector {
  padding: 28px;
  background: #fff;
  border: 2px solid var(--color-rule);
  border-radius: var(--radius-card);
  counter-reset: plan-step;
}

.plan-selector::before { content: none; }

.plan-selector__row { margin-bottom: 24px; }
.plan-selector__row:last-of-type { margin-bottom: 0; }

.plan-selector__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.plan-selector__label::before {
  content: counter(plan-step, decimal-leading-zero);
  counter-increment: plan-step;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--color-brand);
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0;
}

.speed-tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.speed-tier-card {
  position: relative;
  width: 100%;
  min-height: 108px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 2px solid var(--color-rule-strong);
  border-radius: var(--radius-card);
  background: #fff;
  color: var(--color-ink);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  white-space: normal;
}

/* R8 已回併：非 active hover 帶品牌邊框＋淡橙光暈 */
.speed-tier-card:not(.is-active):hover {
  border-color: var(--color-brand);
  box-shadow: 0 4px 12px var(--brand-alpha-10);
}

/* 狀態類單軌化：以 .is-active 為準（JS 端移除 --active 見 MANIFEST_B） */
.speed-tier-card.is-active {
  background: var(--color-brand-soft);
  border-color: var(--color-brand);
  box-shadow: 0 8px 20px var(--brand-alpha-16);
}

.speed-tier-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.speed-tier-card__name {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0;
}

.speed-tier-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--color-brand);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.speed-tier-card__speed {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-24);
  line-height: 1.1;
  color: var(--color-ink);
  letter-spacing: -0.5px;
}
.speed-tier-card.is-active .speed-tier-card__speed {
  color: var(--color-brand-dark);
}

.speed-tier-card__desc {
  color: var(--color-ink-soft);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.6;
}

/* Day chips */
.plan-days-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.plan-chip {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 8px;
  border: 2px solid var(--color-rule-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--color-ink);
  text-align: center;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.plan-chip:hover {
  transform: translateY(-2px);
  border-color: var(--color-brand);
}
/* R8 已回併：非 active hover 帶淡橙底 */
.plan-chip:not(.is-active):hover { background-color: var(--color-brand-soft); }

.plan-chip.is-active {
  border-color: var(--color-brand);
  background: var(--color-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.plan-chip__name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

.plan-chip__price {
  margin-top: 2px;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
  color: var(--color-brand-dark);
  font-variant-numeric: tabular-nums;
}
.plan-chip.is-active .plan-chip__price { color: #fff; }

.plan-selector__summary {
  /* R8 包一：摘要卡分層 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: var(--color-cream-soft);
  border: 2px solid var(--color-rule);
  border-radius: var(--radius-md);
}
.plan-summary__main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.plan-summary__name {
  font-weight: 700;
  font-size: var(--fs-15);
  color: var(--color-ink);
}
.plan-summary__meta {
  font-size: var(--fs-12);
  color: var(--color-ink-muted);
}
.plan-summary__pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  white-space: nowrap;
  flex: none;
}
.plan-summary__calc {
  font-size: var(--fs-12);
  color: var(--color-ink-muted);
  font-weight: 700;
}
.plan-summary__price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-22);
  color: var(--color-brand-dark);
  flex: 0 0 auto;
}

.plan-selector__summary strong {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  font-size: 16px;
}

.plan-selector__qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 14px 20px;
  border: 2px solid var(--color-rule);
  border-radius: 14px;
  background: var(--color-cream-soft);
}
.plan-selector__qty-row .plan-selector__label {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-ink);
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.qty-stepper__btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--color-brand);
  background: #fff;
  color: var(--color-brand-dark);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  /* R8 已回併：補丁層原為 all 0.2s ease，改列實際變化屬性 */
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  padding: 0;
}
.qty-stepper__btn:hover:not(:disabled) {
  background: var(--color-brand);
  color: #fff;
}
.qty-stepper__btn:active:not(:disabled) { transform: scale(0.95); }
.qty-stepper__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.qty-stepper__value {
  min-width: 24px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 800;
  color: var(--color-ink);
  font-variant-numeric: tabular-nums;
}

.plan-selector__actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.plan-selector__fallback {
  margin: 18px 0 0;
  color: var(--color-ink-muted);
  font-family: var(--font-sans);
  font-size: 13px;
  text-align: center;
}
.plan-selector__fallback a {
  color: var(--color-brand-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  .plan-selector {
    padding: 22px;
    border-radius: var(--radius-card);
  }
  .speed-tier-card {
    min-height: 96px;
    padding: 14px;
  }
  .plan-chip { min-height: 66px; }
  .plan-selector__actions .btn {
    width: 100%;
    min-height: 50px;
  }
}

/* 斷點白名單：640px（併入 768 會改變 640–767px 天數 chip 由 4 欄退回 2 欄，違反視覺凍結） */
@media (min-width: 640px) {
  .plan-days-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .speed-tier-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* R2-P1：1200+ 選擇器住右窄欄，速度卡回單欄堆疊 */
@media (min-width: 1200px) {
  .speed-tier-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 768px) {
  .plan-days-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .plan-selector__actions { grid-template-columns: 1fr 1fr; }
}

/* ====================================================================
   Reduced motion
==================================================================== */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .dest-card,
  .feature,
  .testimonial,
  .cart-row,
  .speed-tier-card,
  .plan-chip,
  .faq-item,
  .site-header__link,
  .site-header__cart,
  .site-header__menu-btn {
    transition-duration: 0.001ms !important; /* !important 白名單：prefers-reduced-motion 無障礙豁免 */
  }
}

/* ====================================================================
   通用小元件（Phase 4 內聯樣式歸零新增）
==================================================================== */
/* ICCID 範例等行內代碼片段（原 inline 引用未定義的 --color-bg-muted，
   實際渲染為透明底；維持透明以遵守視覺凍結，底色補回列入 Phase 5） */
.code-chip {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--color-cream-deep); /* Phase 5：補 --color-bg-muted 未定義造成的透明底（MANIFEST_B D3） */
}

/* ========================================================================
   產品頁靜態價格表 + APN 提示（Phase 2 範本化新增）
======================================================================== */

.price-table-block {
  margin-top: 40px;
}
.price-table-block__title {
  font-size: var(--fs-20);
  font-weight: 800;
  color: var(--color-ink);
  margin: 0 0 16px;
}
.price-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 2px solid var(--color-rule);
  border-radius: var(--radius-lg);
  background: var(--color-paper);
}
/* R2-P2：橫捲右緣漸層遮罩 + 窄屏提示字（768 起表格放得下即隱藏） */
.price-table-block {
  position: relative;
}
.price-table-block::after {
  content: '';
  position: absolute;
  top: 44px;
  right: 2px;
  width: 36px;
  bottom: 40px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.price-table-hint {
  margin: 8px 4px 0;
  font-size: var(--fs-12);
  color: var(--color-ink-faint);
}
@media (min-width: 768px) {
  .price-table-hint { display: none; }
  .price-table-block::after { display: none; }
}
.price-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: var(--fs-14);
}
.price-table th,
.price-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--color-rule);
  white-space: nowrap;
}
.price-table thead th {
  background: var(--color-cream-soft);
  color: var(--color-ink);
  font-weight: 700;
  vertical-align: top;
}
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: none;
}
.price-table tbody th {
  font-weight: 700;
  color: var(--color-ink);
}
.price-table__sub {
  display: block;
  font-size: var(--fs-12);
  font-weight: 500;
  color: var(--color-ink-muted);
  margin-top: 2px;
}
.price-table__hot {
  color: var(--color-brand-dark);
  font-weight: 700;
  background: var(--color-brand-soft);
}
.price-table-block__note {
  margin: 12px 4px 0;
  font-size: var(--fs-13);
  color: var(--color-ink-muted);
  line-height: 1.7;
}

/* ========================================================================
   Phase 5：轉換體驗 UX（選擇器改制 / 粘性購買列 / 首頁搜尋）
======================================================================== */
/* 速度卡：當前天數價格與價差 */
.speed-tier-card__pricing {
  display: flex;
  flex-direction: column; /* R2-P8：價差降級次行 */
  align-items: flex-start;
  gap: 2px;
  margin-top: 8px;
  min-height: 40px;
}
.speed-tier-card__pricing strong {
  font-size: var(--fs-16);
  font-weight: 800;
  color: var(--color-brand-dark);
}
.speed-tier-card__diff {
  display: block;
  min-height: calc(var(--fs-12) * 1.5); /* R9 包二：選中卡差價清空時保留行高，消除 12px 底距不對稱與切檔跳動 */
  font-size: var(--fs-12);
  color: var(--color-ink-muted);
  font-weight: 700;
}
.plan-selector__fup-note {
  margin: 10px 2px 0;
  font-size: var(--fs-12);
  color: var(--color-ink-muted);
}

/* 快捷天數 chip（7 顆）+ 自訂 stepper */
.plan-days-grid--quick {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.plan-days-grid--quick .plan-chip {
  min-height: 48px;
}
@media (min-width: 640px) {
  .plan-days-grid--quick { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
.day-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.day-stepper__value {
  min-width: 72px;
  text-align: center;
  font-weight: 800;
  color: var(--color-ink);
}

/* 觸控目標 ≥44px */
.qty-stepper__btn {
  min-width: 44px;
  min-height: 44px;
}
.plan-chip {
  min-height: 44px;
}

/* 行動端底部粘性購買列 */
.buy-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--color-paper);
  border-top: 1px solid var(--color-rule);
  box-shadow: 0 -6px 18px rgba(31, 26, 20, 0.08);
}
.buy-bar__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.buy-bar__label {
  font-size: var(--fs-12);
  color: var(--color-ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.buy-bar__price {
  font-size: var(--fs-18);
  font-weight: 900;
  color: var(--color-brand-dark);
}
.buy-bar__btn {
  margin-left: auto;
  min-height: 44px;
  flex-shrink: 0;
}
body.has-buy-bar main {
  padding-bottom: 88px;
}
@media (min-width: 768px) {
  .buy-bar { display: none; }
  body.has-buy-bar main { padding-bottom: 0; }
}

/* 首頁 Hero 搜尋框（手機端視覺主體） */
.hero-search {
  position: relative;
  display: flex;
  gap: 8px;
  margin-top: 20px;
  max-width: 520px;
}
.hero-search__input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 18px;
  border: 2px solid var(--color-rule-strong);
  border-radius: var(--radius-pill);
  background: var(--color-paper);
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  color: var(--color-ink);
}
.hero-search__input:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: var(--shadow-focus);
}
.hero-search__btn {
  min-height: 52px;
  flex-shrink: 0;
}
.hero-search__suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  background: var(--color-paper);
  border: 2px solid var(--color-rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.hero-search__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 18px;
  font-weight: 700;
  color: var(--color-ink);
}
.hero-search__item:hover {
  background: var(--color-brand-soft);
  color: var(--color-brand-dark);
}
.hero-search__item-en {
  font-size: var(--fs-12);
  font-weight: 500;
  color: var(--color-ink-muted);
}
.hero-search__empty {
  display: block;
  padding: 14px 18px;
  font-size: var(--fs-14);
  color: var(--color-ink-muted);
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
/* R3-問題一：手機端 6 chips 改 3×2 整齊網格（對比 2×3 後拍板：等寬緊湊、不多佔一行） */
@media (max-width: 767px) {
  .hero__chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .hero__chips .chip {
    width: 100%;
    padding: 0 6px;
  }
}

/* ========================================================================
   Phase R 包一：吃到飽敘事層級
======================================================================== */
.unlimited-flag {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 0;
  padding: 8px 16px;
  background: var(--color-brand);
  color: #fff;
  border: 3px solid #fff;
  border-radius: var(--radius-md);
  transform: rotate(-3deg);
  transform-origin: left center;
  box-shadow: var(--shadow-xs);
}
.unlimited-flag strong {
  font-family: var(--font-display);
}
.unlimited-flag strong {
  font-size: var(--fs-18);
  font-weight: 900;
  letter-spacing: 1px;
}
.unlimited-flag span {
  font-size: var(--fs-12);
  opacity: 0.92;
}
.plan-selector__unlimited {
  color: var(--color-brand-dark);
  font-weight: 900;
}
.speed-tier-card__speed small {
  font-size: 0.6em;
  font-weight: 700;
  margin-left: 2px;
}
/* card_tag → 右上角旋轉貼紙（Pengxin 核可；沿用 .unlimited-flag 貼紙語法縮放至角落尺度：
   實心品牌橙＋白描邊＋ −4° 微旋轉＋ xs 陰影）。tag 由 renderDestinationCard 移出 __title，
   改為 .dest-card 的絕對定位子元素——名稱行整行釋放。
   幾何鐵律：卡片 20px 圓角 + overflow:hidden，貼紙須避開右上角 20×20 曲率區，
   否則 overflow 沿弧線裁掉貼紙頂/右緣；top≥12/right≥13 使旋轉後整體落在直邊安全區，
   任何 2–3 字 tag 皆不被裁、不破圓角、不溢出（<768 收為 11/12）。 */
.dest-card__tag {
  position: absolute;
  top: 12px;
  right: 13px;
  z-index: 2;
  padding: 3px 8px;
  background: var(--color-brand);
  color: #fff;
  border: 2px solid #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--fs-11);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transform: rotate(-4deg);
  transform-origin: center;
  box-shadow: var(--shadow-xs), 0 2px 5px rgba(217, 106, 17, 0.22);
  pointer-events: none; /* 整卡 <a> 為連結，貼紙不攔截點擊 */
}

/* ========================================================================
   Phase R 包二：天數選擇器（大數字 + stepper 主控 / slider 同步 / chip 輔助）
======================================================================== */
.day-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 4px;
}
.day-picker__btn {
  width: 52px;
  height: 52px;
  border: 2px solid var(--color-rule-strong);
  border-radius: var(--radius-pill);
  background: var(--color-paper);
  color: var(--color-ink);
  font-size: var(--fs-24);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.day-picker__btn:hover:not(:disabled) {
  border-color: var(--color-brand);
  color: var(--color-brand-dark);
  background: var(--color-brand-soft);
}
.day-picker__btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.day-picker__display {
  min-width: 96px;
  text-align: center;
  color: var(--color-ink);
}
.day-picker__display strong {
  font-size: var(--fs-44);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}
.day-picker__unit {
  margin-left: 6px;
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--color-ink-muted);
}
.day-slider {
  display: block;
  width: 100%;
  margin: 14px 0 4px;
  height: 44px; /* 觸控目標 */
  accent-color: var(--color-brand);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.day-slider::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: var(--color-cream-deep);
}
.day-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--color-brand);
  border: 3px solid #fff;
  box-shadow: var(--shadow-xs);
}
.day-slider::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: var(--color-cream-deep);
}
.day-slider::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--color-brand);
}
.day-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-brand);
  border: 3px solid #fff;
}
.day-quick {
  display: grid; /* R3-審計A-H1：4+3 / 5+2 亂排 → 標籤獨立行 + 3×2 整齊網格（複用 hero chips 拍板） */
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
}
.day-quick__label {
  grid-column: 1 / -1;
  font-size: var(--fs-12);
  font-weight: 700;
  color: var(--color-ink-faint);
  margin: 0;
}
.day-quick__chip {
  min-height: 44px;
  width: 100%;
  padding: 0 6px;
  border: 1.5px solid var(--color-rule-strong);
  border-radius: var(--radius-pill);
  background: var(--color-paper);
  color: var(--color-ink-soft);
  font-size: var(--fs-13);
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.day-quick__chip:hover {
  border-color: var(--color-brand);
  color: var(--color-brand-dark);
}
.day-quick__chip.is-active {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
}

/* ========================================================================
   Phase R 包三：「粉圓橙」視覺系統
======================================================================== */
/* 頂部公告條（口語 + 唯一口徑；靜態內聯，GEO 可讀） */
.site-notice {
  background: var(--color-brand);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: var(--fs-13);
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* 墨色 footer 的文字層級 */
.site-footer__desc { color: rgba(250, 246, 238, 0.75); }
.site-footer__heading { color: #fff; }
.site-footer__col a { color: rgba(250, 246, 238, 0.72); }
.site-footer__col a:hover { color: var(--color-brand); }
.site-footer__bottom { border-top: 1px solid rgba(250, 246, 238, 0.14); }
.site-footer__bottom p { color: rgba(250, 246, 238, 0.45); }

/* 價格一律 display 圓體數字 */
.dest-card__price strong,
.speed-tier-card__pricing strong,
.buy-bar__price,
.day-picker__display strong,
.price-table tbody td,
.cart-summary__row strong,
.checkout-summary__total strong {
  font-family: var(--font-display);
}

/* 卡片語言統一：2px 描邊 + 20px 圓角（各源規則已直改） */

/* 首頁 hero 貼紙（記憶點；product hero 共用 .unlimited-flag 貼紙語法） */
.hero__sticker-row {
  margin: 14px 0 0;
}
.unlimited-flag--hero {
  transform: rotate(-2.5deg);
  font-size: var(--fs-16);
}
.unlimited-flag--hero strong {
  font-size: var(--fs-22);
}

/* ========================================================================
   Phase R2：插圖系統（貼紙同源 SVG）
======================================================================== */
.state-illus {
  display: block;
  margin: 0 auto 12px;
  width: 200px;
  height: auto;
}
.state-illus--sm {
  width: 150px;
}
.guide-step-heading__icon {
  display: inline-block;
  vertical-align: middle;
  width: 48px;
  height: 48px;
  margin-right: 10px;
}

/* R4 包二：hero 貼紙群（吃到飽旗 + 行李箱貼紙），記憶點強化、零垂直成本 */
.hero__sticker-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
/* R-ink 审计（回归修复）：390px 徽章被行李箱贴纸挤压 → 「吃到/飽」+「案」双孤字折行。
   徽章文字不可折（品牌主张完整），空间不足时由装饰性行李箱贴纸收缩让位（桌面不受影响） */
.unlimited-flag--hero { flex: 0 0 auto; }
.unlimited-flag--hero strong,
.unlimited-flag--hero span { white-space: nowrap; }
.hero__sticker-luggage { flex: 0 1 auto; min-width: 48px; height: auto; }
.hero__sticker-luggage {
  width: 76px;
  height: auto;
  transform: rotate(7deg);
  /* 複評修：輪廓白圈（四向 1.5px）+ 貼紙投影，與吃到飽旗同語法 */
  filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff) drop-shadow(0 3px 6px rgba(31, 26, 20, 0.14));
}
/* §A 第三枚貼紙（笑臉 mascot）：湊成 3 枚奇數群平衡右側留白（研究：rule of odds）。
   反向微旋 +3°（打破兩枚同向），白圈+投影同語法，暖底幾乎不佔橙預算。 */
.hero__sticker-hi {
  width: 56px;
  height: auto;
  transform: rotate(3deg);
  filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff) drop-shadow(0 3px 6px rgba(31, 26, 20, 0.14));
}
@media (min-width: 768px) {
  .hero__sticker-luggage { display: none; } /* 桌面已有 hero 主插圖，避免重複符號 */
  .hero__sticker-hi { display: none; }
}

.u-nowrap { white-space: nowrap; }

/* ========================================================================
   R7 包二：產品頁緊湊頁首（cardless）——首屏讓位決策資訊
======================================================================== */
.product-head {
  margin-top: 0;   /* R-unify：麵包屑→H1 收緊，去 4px */
}
.product-head__row {
  display: flex;
  align-items: center;
  gap: 12px;   /* R-unify-3：chip 已移出此列（改麵包屑徽章）；長名 H1 於旗右側自然換行（配合 h1 flex:1/min-width:0 + nowrap） */
  flex-wrap: nowrap;
}
/* §4 單國旗徽：圓角方形 + object-fit:contain 顯示完整國旗，與卡片單旗同語法——
   不做整圓中心裁切（修中國五星、馬來月星、菲律賓太陽、韓國卦象等偏心國旗被裁） */
.product-head__flag {
  height: 44px;
  width: auto;
  max-width: 66px;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid var(--color-rule);
  box-shadow: var(--shadow-xs);
  background: #fff;
  flex: 0 0 auto;
}
/* 多國圓徽（港澳/日韓/歐洲，Pengxin 表揚）維持圓形疊放，主體居中不受影響 */
.product-head__flags .product-head__flag {
  width: 44px;
  height: 44px;
  max-width: none;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 2px var(--color-rule);
}
.product-head__flags {
  display: inline-flex;
  flex: 0 0 auto;
}
.product-head__flag--overlap {
  margin-left: -12px;
}

/* §1a/§1b「網路覆蓋」三層排版 + 當地電信 chips（粉圓橙：暖底柔邊、中性不佔橙預算） */
.coverage__note { margin: 0 0 12px; }
.coverage__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.coverage__label {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-13);
  color: var(--color-ink);
}
.coverage__label--inline { margin-right: 6px; }
.carrier-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.carrier-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  background: var(--color-cream-deep);
  border: 1.5px solid var(--color-rule);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-12);
  color: var(--color-ink-soft);
  white-space: nowrap;
}
.coverage__apn {
  margin: 0 0 10px;
  color: var(--color-ink-soft);
  font-size: var(--fs-14);
  line-height: 1.6;
}
.coverage__feats {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: var(--fs-13);
  line-height: 1.6;
}
.product-head__title {
  margin: 0;
  flex: 1 1 auto;   /* R-unify-3：長名 H1 留在旗右側、文字自然換行（非整條 H1 掉到旗下方成孤旗）；h1.top 對齊、header→H1 對所有名長一致 */
  min-width: 0;
  text-wrap: balance;   /* R-unify-3：長名兩行時平衡行長、避免「卡」孤字（漸進增強，不支援則自然換行） */
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-32);   /* R-unify：頁標題階與 .page-header 一致（32 手機 / 40 桌面），非舊 24/32 */
  line-height: 1.2;
  color: var(--color-ink);
  letter-spacing: -0.5px;
}
.unlimited-chip {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-brand);
  color: #fff;
  border: 2px solid #fff;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-13);
  letter-spacing: 0.5px;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-xs);
  flex: 0 0 auto;
}
.product-head__desc {
  margin: 8px 0 0;   /* R-unify：H1→副標 8–10px（§7.6），非舊 10 */
  font-size: var(--fs-14);
  line-height: 1.65;
  color: var(--color-ink-muted);
}
@media (min-width: 768px) {
  .product-head__title { font-size: var(--fs-40); }   /* R-unify：桌面頁標題 40，與 .page-header 一致 */
  .product-head__flag { height: 52px; width: auto; max-width: 78px; }
  .product-head__flags .product-head__flag { width: 52px; height: 52px; }
}
