/* ==================== 呼吸動畫（統一供所有聯繫按鈕使用） ==================== */
@keyframes breathe {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

/* ==================== Reset & Base ==================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a7a4c;
  --primary-dark: #145e3a;
  --primary-light: #e8f5ee;
  --accent: #f0a030;
  --accent-dark: #d4891a;
  --text: #333;
  --text-light: #666;
  --text-muted: #999;
  --bg: #fff;
  --bg-gray: #f5f5f5;
  --border: #e5e5e5;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, .08);
  --max-width: 1200px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* clip 同样裁剪横向溢出，但不创建滚动容器，避免破坏后代 position:sticky 吸附 */
  overflow-x: clip;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ==================== Pub Header ==================== */
.pub-header {
  position: relative;
  z-index: 1000;
}

.pub-header .top-bar {
  background: #f6f6f6;
  height: 40px;
  line-height: 40px;
}

.pub-header .top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
}

.pub-header .top-bar .welcome {
  font-size: 14px;
  color: #828080;
}

.pub-header .top-bar .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pub-header .top-bar .top-phone,
.pub-header .top-bar .top-whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #388c57;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.pub-header .top-bar .top-phone:hover,
.pub-header .top-bar .top-whatsapp:hover {}

.pub-header .top-bar .top-phone-icon,
.pub-header .top-bar .top-whatsapp-icon {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.pub-header .top-bar .phone-num {
  font-size: 20px;
  color: #388c57;
  font-weight: 700;
}

.pub-header .top-bar .phone-note {
  font-size: 16px;
  color: #388c57;
  font-weight: 700;
}

/* ==================== Header Main ==================== */
.pub-header .header-main {
  background: #fff;
  height: 120px;
}

/* 移动端元素默认隐藏（PC端不显示） */
.pub-header .mobile-logo,
.pub-header .mobile-menu-btn,
.pub-header .mobile-location-btn {
  display: none;
}

.pub-header .header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 120px;
}

.pub-header .header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pub-header .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.pub-header .logo img {
  width: 495px;
  height: 74px;
  object-fit: contain;
}

.pub-header .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #388c57;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  padding: 0 30px;
  height: 60px;
  border-radius: 10px;
  white-space: nowrap;
}

.pub-header .header-cta:hover {
  background: #2f7a4a;
  color: #fff;
}

/* ==================== Nav Bar ==================== */
.pub-header .nav-bar {
  background: #f6f6f6;
}

.pub-header .nav-bar .container {
  display: flex;
  align-items: center;
}

.pub-header .nav-menu {
  display: flex;
  align-items: center;
  width: 100%;
}

.pub-header .nav-menu li {
  flex: 1;
  text-align: center;
}

.pub-header .nav-menu li a {
  display: block;
  padding: 0 10px;
  height: 80px;
  line-height: 80px;
  font-size: 22px;
  font-weight: 500;
  color: #454545;
  transition: all .2s;
}

.pub-header .nav-menu li a:hover {
  background: rgba(56, 140, 87, .08);
  color: #388c57;
}

.pub-header .nav-menu li a.active {
  background: #388c57;
  color: #ffffff;
}

/* Mobile menu hidden by default on desktop */
.pub-header .mobile-menu {
  display: none;
}

/* ==================== Hamburger 漢堡菜單 ==================== */
.pub-header .hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  position: relative;
  width: 40px;
  height: 40px;
}

.pub-header .hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  margin: 3px 0;
  border-radius: 0;
  transition: all .3s ease;
  position: relative;
  transform-origin: center;
}

/* Active 狀態：三線變 X */
.pub-header .hamburger.active span:nth-child(1),
.pub-header .mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.pub-header .hamburger.active span:nth-child(2),
.pub-header .mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.pub-header .hamburger.active span:nth-child(3),
.pub-header .mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* 漢堡菜單展開後 X 顏色 */
.pub-header .hamburger.active span {
  background: #333;
}

/* PC 端漢堡按鈕顯示 */
@media (max-width: 1200px) {
  .pub-header .hamburger {
    display: flex;
  }
}

/* 移動端漢堡按鈕顯示 */
@media (max-width: 768px) {
  .pub-header .hamburger {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 0;
    flex-shrink: 0;
    z-index: 1001;
  }

  .pub-header .hamburger span {
    width: 22px;
    height: 2px;
    margin: 2px 0;
  }
}

/* ==================== Hero Banner Swiper ==================== */
.hero-banner {
  width: 100%;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: auto;
}

.hero-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
  height: auto;
}

.hero-swiper .swiper-slide a {
  display: block;
  width: 100%;
  height: auto;
}

.hero-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Swiper 分頁器樣式 - 通用 */
.swiper-pagination-bullet-active {
  background: #388c57 !important;
}

.hero-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, .5);
  opacity: 1;
  transition: all .3s;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: #388c57;
  width: 28px;
  border-radius: 6px;
}

/* Hero 導航按鈕 —— 与专家轮播箭头样式统一（内联 SVG + currentColor）
   默认隐藏，鼠标悬停在轮播图区域时才显示（80% 透明度） */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all .3s;
  padding: 0;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  color: #ccc;
  opacity: 0;
  pointer-events: none;
}

.hero-nav-btn.prev {
  left: 20px;
}

.hero-nav-btn.next {
  right: 20px;
}

/* 鼠标悬停轮播图区域 → 显示箭头（80% 透明度） */
.hero-swiper:hover .hero-nav-btn {
  opacity: .8;
  pointer-events: auto;
}

.hero-nav-btn:hover {
  background: #388c57;
  border-color: #388c57;
  color: #fff;
}

/* 僅一張圖片時不初始化輪播，隱藏分頁器與導航箭頭 */
.hero-swiper--single .swiper-pagination,
.hero-swiper--single .hero-nav-btn {
  display: none;
}

/* ==================== Footer ==================== */
.footer {
  background: #f5f5f5;
  color: #333;
  padding: 50px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  align-items: stretch;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e0e0e0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-brand .footer-logo {
  margin-bottom: 12px;
}

.footer-brand .footer-logo img {
  height: auto;
  width: auto;
  max-width: 100%;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* PC 端收窄中间导航区，并在剩余空间中居中 */
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.footer-nav-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  font-weight: 700;
  transition: color .2s;
}

.footer-nav-grid a:not(:nth-child(2n)) {
  border-right: 1px solid #ddd;
}

.footer-nav-grid a:not(:nth-last-child(-n+2)) {
  border-bottom: 1px solid #ddd;
}

.footer-nav-grid a:hover {
  color: #388c57;
}

.footer-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.contact-info {
  flex: 1;
}

.contact-item {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.contact-item strong {
  display: block;
  font-size: 15px;
  color: #333;
  margin-bottom: 4px;
}

.contact-item span {
  color: #666;
}

.footer-qr {
  text-align: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.footer-qr img {
  width: 120px;
  height: 120px;
  margin: 0 auto 8px;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.footer-qr p {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.footer-bottom {
  background: #ebebeb;
  padding: 16px 0;
  text-align: center;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 牙科服務欄目導航 */
.footer-service-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.footer-service-nav a {
  color: #666;
  font-size: 13px;
  text-decoration: none;
  padding: 0 14px;
  white-space: nowrap;
  transition: color .2s;
  position: relative;
}

.footer-service-nav a:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: 0;
  color: #ccc;
}

.footer-service-nav a:hover {
  color: #388c57;
}

.footer-bottom-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 13px;
  color: #666;
  flex-wrap: wrap;
}

.footer-bottom-info span {
  white-space: nowrap;
}

.footer-bottom-link {
  color: #666;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}

.footer-bottom-link:hover {
  color: #388c57;
}

.footer-copyright {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ddd;
  font-size: 12px;
  color: #999;
  line-height: 1.6;
}

.footer-copyright p {
  margin: 0;
}

/* ==================== Responsive: Header & Footer ==================== */
@media (max-width: 1024px) {
  .pub-header .top-bar {
    height: auto;
    line-height: normal;
    padding: 6px 0;
  }

  .pub-header .top-bar .container {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    height: auto;
  }

  .pub-header .top-bar .welcome {
    font-size: 12px;
  }

  .pub-header .top-bar .top-phone-icon,
  .pub-header .top-bar .top-whatsapp-icon {
    width: 24px;
    height: 24px;
  }

  .pub-header .top-bar .phone-num {
    font-size: 16px;
  }

  .pub-header .top-bar .phone-note {
    font-size: 13px;
  }

  .pub-header .header-main {
    height: auto;
    padding: 15px 0;
  }

  .pub-header .header-main .container {
    flex-wrap: wrap;
    gap: 10px;
    height: auto;
  }

  .pub-header .logo img {
    width: 380px;
    height: 57px;
  }

  .pub-header .header-cta {
    height: 48px;
    font-size: 18px;
    padding: 0 20px;
    border-radius: 8px;
  }

  .pub-header .nav-menu li a {
    font-size: 18px;
    padding: 0 6px;
    height: 60px;
    line-height: 60px;
  }

  /* Hero Banner - height auto based on image */
  .hero-swiper {
    height: auto;
  }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-brand .footer-logo img {
    height: 120px;
  }

  .footer-nav {
    justify-content: center;
    margin: 0 auto;
  }

  .footer-contact {
    flex-direction: column;
    align-items: center;
  }

  .footer-qr {
    align-self: center;
  }

  /* 底部信息栏：平板端略微缩小间距 */
  .footer-bottom-info {
    gap: 20px;
    font-size: 12px;
  }

  .footer-service-nav a {
    font-size: 12px;
    padding: 0 10px;
  }

  .footer-copyright {
    font-size: 11px;
  }
}

@media (max-width: 768px) {

  /* 移动端隐藏导航箭头 */
  .hero-nav-btn {
    display: none;
  }

  .pub-header .top-bar {
    display: none;
  }

  /* 移動端滾動時 Logo + CTA 區固定在頂部（sticky 不脫離文檔流，無需補償高度；
     top-bar 與 nav-bar 在移動端已隱藏，實際吸頂的只有 header-main） */
  .pub-header {
    position: sticky;
    top: 0;
  }

  .pub-header .header-main {
    height: 60px;
    padding: 0;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 100;
  }

  .pub-header .header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: auto;
  }

  /* PC 元素隐藏 */
  .pub-header .header-left,
  .pub-header .header-cta {
    display: none !important;
  }

  /* 移动端 logo 居中 */
  .pub-header .mobile-logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
  }

  .pub-header .mobile-logo img {
    height: 36px;
    width: auto;
    max-width: 55vw;
    object-fit: contain;
    display: block;
  }

  /* 汉堡按钮使用 .hamburger 樣式，已在上方定義 */

  /* 位置按钮 */
  .pub-header .mobile-location-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #388c57;
    text-decoration: none;
    flex-shrink: 0;
    z-index: 2;
  }

  .pub-header .mobile-location-btn svg {
    width: 24px;
    height: 24px;
  }

  /* 桌面导航隐藏 */
  .pub-header .nav-bar {
    display: none;
  }

  .pub-header .desktop-menu {
    display: none !important;
  }

  /* 移动导航显示 */
  .pub-header .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    z-index: 999;
    width: 100%;
    border-top: 1px solid #e5e5e0;
  }

  .pub-header .mobile-menu.show {
    display: flex;
  }

  .pub-header .mobile-menu li {
    flex: none;
    text-align: left;
    width: 100%;
  }

  .pub-header .mobile-menu li a {
    height: auto;
    line-height: 1;
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 16px;
  }

  .pub-header .mobile-menu li a.active {
    background: #388c57;
    color: #fff;
  }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    text-align: center;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-nav {
    max-width: none;
  }

  /* 联系方式整体居中，内部两个项目横排、等宽、顶部对齐 */
  .footer-contact {
    flex-direction: column;
    align-items: center;
  }

  .contact-info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
  }

  .contact-item {
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 0;
    padding: 0 18px;
    text-align: center;
  }

  .contact-item + .contact-item {
    border-left: 1px solid #e2e2e2;
  }

  .contact-item strong {
    margin-bottom: 6px;
  }

  /* 移动端（≤768px）隐藏二维码 */
  .footer-qr {
    display: none;
  }

  .footer {
    padding: 20px 0 0;
  }

  .footer-main {
    padding-bottom: 20px;
  }

  .footer-bottom {
    padding: 10px 0 90px;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-nav-grid a {
    font-size: 14px;
    padding: 12px 10px;
    border-bottom: none;
    color: #333;
  }

  .footer-nav-grid a:not(:nth-child(2n)) {
    border-right: none;
  }

  .footer-nav-grid a:not(:nth-child(3n)) {
    border-right: 1px solid #ddd;
  }

  /* 覆盖桌面版 2 栏底部边框规则，避免影响第 4 项（品質醫療） */
  .footer-nav-grid a:not(:nth-last-child(-n+2)) {
    border-bottom: none;
  }

  .footer-nav-grid a:not(:nth-last-child(-n+3)) {
    border-bottom: 1px solid #ddd;
  }
}

@media (max-width: 480px) {
  .pub-header .top-bar {
    padding: 6px 0;
  }

  .pub-header .top-bar .phone-note {
    display: none;
  }

  .pub-header .top-bar .top-phone-icon,
  .pub-header .top-bar .top-whatsapp-icon {
    width: 18px;
    height: 18px;
  }

  .pub-header .top-bar .phone-num {
    font-size: 13px;
  }

  .pub-header .header-main {
    padding: 12px 0;
  }

  .pub-header .logo img {
    width: 180px;
    height: 27px;
  }

  /* Footer —— 移动端布局调整 */
  .footer-main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }

  /* 品牌 logo 与导航横排 */
  .footer-brand {
    display: flex;
    flex: 0 0 auto;
  }

  .footer-brand .footer-logo img {
    max-width: 80px;
    height: auto;
  }

  .footer-nav {
    flex: 0 1 auto;
    max-width: 240px;
    margin: 0 auto;
  }

  .footer-nav-grid a {
    font-size: 12px;
    padding: 8px 6px;
  }

  /* 移动端隐藏二维码 */
  .footer-qr {
    display: none;
  }

  /* 联系方式整体居中，内部两个项目横排、等宽、顶部对齐 */
  .footer-contact {
    flex: 0 0 100%;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .contact-info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .contact-item {
    flex: 1 1 0;
    min-width: 0;
    font-size: 12px;
    margin-bottom: 0;
    padding: 0 12px;
    text-align: center;
  }

  .contact-item + .contact-item {
    border-left: 1px solid #e2e2e2;
  }

  .contact-item strong {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .footer-bottom {
    padding: 10px 0 90px;
  }

  body {
    padding-bottom: 0;
  }

  .footer-bottom-info {
    display: block;
    font-size: 10px;
    line-height: 1.8;
  }

  .footer-service-nav {
    gap: 0;
    padding-bottom: 8px;
    margin-bottom: 8px;
  }

  .footer-service-nav a {
    font-size: 10px;
    padding: 0 8px;
  }

  .footer-bottom-info span,
  .footer-bottom-link {
    white-space: normal;
  }

  .footer-copyright {
    font-size: 10px;
    margin-top: 8px;
    padding-top: 8px;
  }

  /* ==================== 移動端底部漂浮導航 ==================== */
  .public-swt {
    display: block;
    position: fixed;
    z-index: 999;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    border-top: 2px solid #388c57;
    padding: 0 10px;
    font-size: 0;
    line-height: 0;
  }

  .public-swt ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 60px;
  }

  .public-swt li {
    flex: 1;
    text-align: center;
    position: relative;
  }

  .public-swt li a {
    display: block;
    text-decoration: none;
  }

  .public-swt li .ico {
    width: 28px;
    height: 28px;
    margin: 0 auto 4px;
  }

  .public-swt li img {
    display: block;
    width: 100%;
    height: auto;
  }

  .public-swt li p {
    height: 18px;
    line-height: 18px;
    color: #333;
    font-size: 11px;
    margin: 0;
  }

  .public-swt li.ftel .ftel-box {
    transform: translateY(-15px);
  }

  .public-swt li.ftel .ftel-box p {
    padding: 4px 0 0 0;
  }

  .public-swt li.ftel a {
    position: relative;
    width: 52px;
    height: 52px;
    margin: 0 auto;
    border: 2px solid #388c57;
    background: #fff;
    border-radius: 50%;
    padding: 0;
  }

  .public-swt li.ftel .ico {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    margin: 0;
  }

  .public-swt li.ftel .num {
    position: absolute;
    top: -8px;
    right: -16px;
    padding: 1px 5px;
    background: #e8a84c;
    font-size: 8px;
    color: #fff;
    border-radius: 4px;
    animation: redPoint 2s ease infinite;
    line-height: 16px;
    z-index: 1;
  }
}

@keyframes redPoint {

  0%,
  100%,
  30% {
    transform: translateY(0);
  }

  15% {
    transform: translateY(-4px);
  }

  50% {
    transform: translateY(-2px);
  }
}

/* ==================== 微信彈窗遮罩 ==================== */
.wechat-mask {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

.wechat-mask .wechat-body {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 80%;
  max-width: 400px;
  padding: 30px 24px;
  border-radius: 8px;
  text-align: center;
}

.wechat-mask .remind-title {
  font-size: 18px;
  margin-bottom: 16px;
  color: #388c57;
}

.wechat-mask .wechat-remind p {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  word-break: break-all;
}

.wechat-mask .wechat-button {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.wechat-mask .wechat-button span {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

.wechat-mask #wechat-cancel {
  background: #eaeaea;
  color: #a0a0a0;
}

.wechat-mask #wechat-active {
  background: #388c57;
  color: #fff;
}

/* PC端隐藏漂浮導航 */
@media (min-width: 481px) {
  .public-swt {
    display: none;
  }
}

/* ==================== 单页（隱私聲明 / 免責申明） ==================== */
.single-page {
  padding: 50px 0 60px;
  background: #fff;
}

.page-article {
  max-width: 860px;
  margin: 0 auto;
}

.page-title {
  font-size: 28px;
  color: #1a7a4c;
  font-weight: 700;
  text-align: center;
  margin-bottom: 14px;
}

.page-meta {
  text-align: center;
  font-size: 13px;
  color: #999;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.page-content {
  font-size: 15px;
  line-height: 2;
  color: #444;
}

.page-content p {
  margin-bottom: 16px;
  text-align: justify;
}

@media (max-width: 768px) {
  .single-page {
    padding: 30px 0 40px;
  }

  .page-title {
    font-size: 22px;
  }

  .page-content {
    font-size: 14px;
    line-height: 1.9;
  }
}

/* ==================== Toast 輕提示組件 ==================== */
#pc-toast-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.pc-toast {
  max-width: 80vw;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: auto;
  white-space: nowrap;
}

.pc-toast.pc-toast-show {
  opacity: 1;
  transform: translateY(0);
}

.pc-toast-success {
  background: var(--primary);
}

.pc-toast-error {
  background: #e8553e;
}

.pc-toast-warning {
  background: var(--accent);
}

.pc-toast-info {
  background: #333;
}

/* ==================== Alert 彈窗組件 ==================== */
.pc-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .45);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
}

.pc-alert-overlay.pc-alert-show {
  opacity: 1;
}

.pc-alert {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .25);
  padding: 32px 28px 24px;
  max-width: 90vw;
  width: 340px;
  text-align: center;
  transform: scale(0.9);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}

.pc-alert.pc-alert-show {
  transform: scale(1);
  opacity: 1;
}

.pc-alert-icon {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.pc-alert-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.pc-alert-message {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 22px;
}

.pc-alert-btn {
  display: inline-block;
  width: 100%;
  height: 44px;
  line-height: 44px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: opacity .2s;
}

.pc-alert-btn:hover {
  opacity: 0.85;
}

.pc-alert-success .pc-alert-btn {
  background: var(--primary);
}

.pc-alert-error .pc-alert-btn {
  background: #e8553e;
}

.pc-alert-warning .pc-alert-btn {
  background: var(--accent);
}

.pc-alert-info .pc-alert-btn {
  background: #333;
}

/* ==================== 公共面包屑 ==================== */
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 30px;
  font-size: 15px;
  color: #666;
}

.article-breadcrumb-home {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.article-breadcrumb a {
  color: #666;
  text-decoration: none;
}

.article-breadcrumb a:hover {
  color: #399630;
}

.article-breadcrumb-sep {
  color: #999;
}

.article-breadcrumb-current {
  color: #399630;
}

/* ==================== 公共分页 ==================== */
.article-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.article-pagination .page-btn,
.article-pagination .page-num,
.article-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 16px;
  color: #666;
  background: #f0f0f0;
  border-radius: 8px;
  text-decoration: none;
  transition: all .2s;
}

.article-pagination .page-btn:hover,
.article-pagination a:hover {
  background: #399630;
  color: #fff;
}

.article-pagination .page-num.current {
  background: #399630;
  color: #fff;
}

.article-empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 18px;
}