/* === 頁面專屬樣式 (局部隔離) === */
    .site-main {
      --primary-color: #2c3e50; /* 深色主題 */
      --accent-color: #27ae60;  /* 商店綠 */
      --text-dark: #2d3436;
      --bg-card: #ffffff;
      --card-radius: 12px;
      
      --btn-real-color: #3498db; /* 實體果按鈕藍 */
      --btn-perm-color: #9b59b6; /* 永久果按鈕紫 */
    }

    /* 上方快速導覽列 */
    .site-main .guide-subnav {
      display: flex; overflow-x: auto; white-space: nowrap; padding: 15px 10px;
      background: #fff; border-bottom: 1px solid #eee; margin-bottom: 20px;
      align-items: center; gap: 10px;
    }
    .site-main .guide-subnav-label { font-weight: bold; color: #555; }
    .site-main .guide-subnav a {
      display: inline-block; padding: 6px 14px; background: #f1f3f5; color: #333;
      border-radius: 20px; text-decoration: none; font-size: 0.9rem; transition: all 0.2s ease;
    }
    .site-main .guide-subnav a:hover, .site-main .guide-subnav a.active {
      background: var(--primary-color); color: #fff;
      box-shadow: 0 2px 4px rgba(44, 62, 80, 0.4);
    }

    /* 內容卡片樣式 */
    .site-main .guide-detail-card {
      background: var(--bg-card); border-radius: var(--card-radius); padding: 30px 25px;
      margin-bottom: 25px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); border: 1px solid #e9ecef; position: relative;
    }

    .site-main .guide-detail-card h1,
    .site-main .guide-detail-card h2 {
      display: flex; align-items: center; margin-top: 0; color: var(--text-dark);
      border-bottom: 3px solid #f0f0f0; padding-bottom: 15px; margin-bottom: 20px; font-size: 1.5rem;
    }
    .site-main .h2-emoji { margin-right: 12px; font-size: 1.8rem; }
    .site-main .section-desc { color: #666; line-height: 1.6; margin-bottom: 15px; }

    .site-main .highlight-box {
      background: #fdfcf5; border-left: 4px solid #f1c40f; padding: 15px;
      border-radius: 6px; margin: 15px 0; color: #333; font-weight: 500; line-height: 1.6;
    }

    /* 分頁按鈕 */
    .site-main .shop-tab-container {
      display: flex; gap: 12px; margin-bottom: 25px; overflow-x: auto; padding: 5px; justify-content: center;
    }
    .site-main .shop-tab-btn {
      flex: 1; max-width: 200px; min-width: 110px; padding: 12px 10px;
      border: 2px solid #e0e0e0; background: #f8f9fa; border-radius: 50px;
      font-weight: 800; font-size: 1.15rem; color: #95a5a6; cursor: pointer; 
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 4px 0 #e0e0e0;
    }
    .site-main .shop-tab-btn:hover {
      background: #fff; border-color: var(--accent-color); color: var(--accent-color);
      transform: translateY(-2px); box-shadow: 0 6px 0 #dcdcdc;
    }
    .site-main .shop-tab-btn.active {
      background: var(--accent-color); border-color: var(--accent-color); color: #fff;
      box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4); transform: translateY(-3px);
    }
    
    .site-main .shop-section-hidden { display: none !important; }

    /* 篩選器 */
    .site-main .filter-header {
        cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none;
    }
    .site-main .filter-header h2 { margin: 0; border: none; padding: 0; }
    .site-main .filter-toggle-icon { font-size: 1.2rem; transition: transform 0.3s; }
    .site-main .filter-content {
        max-height: 1000px; overflow: hidden; transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding-top: 15px; opacity: 1;
    }
    .site-main .filter-content.collapsed { max-height: 0; padding-top: 0; opacity: 0; }
    .site-main .filter-header.collapsed .filter-toggle-icon { transform: rotate(-90deg); }

    .site-main .fv-toolbar {
      display: flex; flex-wrap: wrap; gap: 15px; background: #f8f9fa;
      padding: 15px; border-radius: 8px; border: 1px solid #eee;
    }
    .site-main .fv-control { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 5px; }
    .site-main .fv-control select { padding: 10px; border-radius: 6px; border: 1px solid #ccc; font-size: 0.95rem; }

    /* 購物車 Aside */
    .site-main .shop-cart {
      position: fixed; bottom: 20px; right: 20px; width: 320px;
      background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
      z-index: 1000; display: flex; flex-direction: column;
      border: 2px solid var(--primary-color); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      overflow: hidden; max-height: 80vh;
    }
    .site-main .shop-cart-collapsed { transform: translateY(calc(100% - 60px)); }
    .site-main .shop-cart-toggle {
      background: var(--primary-color); color: #fff; border: none;
      padding: 15px; font-size: 1rem; font-weight: bold; cursor: pointer;
      display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left;
    }
    .site-main .shop-cart-body { padding: 15px; overflow-y: auto; flex: 1; background: #fdfdfd; }
    .site-main .shop-cart-table { width: 100%; font-size: 0.9rem; border-collapse: collapse; margin-bottom: 10px; }
    .site-main .shop-cart-table th { text-align: left; color: #666; padding-bottom: 5px; border-bottom: 1px solid #eee; }
    .site-main .shop-cart-table td { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
    .site-main .shop-cart-summary { background: #f1f8e9; padding: 10px; border-radius: 8px; margin-bottom: 10px; font-weight: bold; color: #2e7d32; }
    .site-main .shop-cart-extra textarea, .site-main .shop-payment select {
      width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 6px; margin-top: 5px; box-sizing: border-box;
    }
    .site-main #shop-cart-copy-btn {
      width: 100%; padding: 12px; background: #f1c40f; color: #333; font-weight: bold; border: none;
      border-radius: 8px; cursor: pointer; margin-top: 10px; transition: 0.2s; box-shadow: 0 4px 0 #d4ac0d;
    }
    .site-main #shop-cart-copy-btn:active { transform: translateY(4px); box-shadow: none; }

    /* 果實卡片 */
    .site-main .myprices-fruit-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 15px; margin-top: 15px;
    }
    @media (max-width: 480px) {
        .site-main .myprices-fruit-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    }
    .site-main .myprices-fruit-card {
      background: #fff; border: 1px solid #eee; border-radius: 10px;
      overflow: hidden; display: flex; flex-direction: column; transition: 0.2s;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05); position: relative;
    }
    .site-main .myprices-fruit-card:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); border-color: var(--accent-color); }
    
    .site-main .myprices-fruit-icon-wrapper {
      width: 100%; aspect-ratio: 1; background: #f9f9f9; display: flex; align-items: center; justify-content: center;
      border-bottom: 1px solid #eee;
    }
    .site-main .myprices-fruit-icon { width: 80%; height: 80%; background-size: contain; background-repeat: no-repeat; background-position: center; }
    
    .site-main .myprices-fruit-text { padding: 10px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
    .site-main .myprices-fruit-name-zh { font-weight: bold; color: #2c3e50; font-size: 1rem; margin-bottom: 4px; text-align: center; }
    .site-main .myprices-fruit-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
    
    .site-main .myprices-add-btn {
      width: 100%; padding: 8px; border: none; border-radius: 6px; 
      cursor: pointer; font-size: 0.85rem; font-weight: bold; color: #fff;
      transition: 0.2s; text-align: center;
    }
    .site-main .myprices-add-btn:active { transform: scale(0.98); }
    
    .site-main .btn-real { background: var(--btn-real-color); box-shadow: 0 3px 0 #2980b9; }
    .site-main .btn-real:hover { background: #2980b9; }
    .site-main .btn-perm { background: var(--btn-perm-color); box-shadow: 0 3px 0 #8e44ad; }
    .site-main .btn-perm:hover { background: #8e44ad; }

    /* 簡帳與 Robux (橫向排列) */
    .site-main .myprices-extra-layout { 
        display: flex; flex-direction: row; gap: 25px; align-items: flex-start;
    }
    .site-main .myprices-extra-image {
        flex: 0 0 35%; max-width: 350px; min-width: 250px;
    }
    .site-main .myprices-extra-image img { 
        width: 100%; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
    }
    .site-main .myprices-extra-content { flex: 1; }
    .site-main .myprices-extra-list { 
        list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 15px;
    }
    .site-main .myprices-extra-item {
      background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 8px; padding: 15px;
      display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 15px;
    }
    .site-main .myprices-extra-main { flex: 1; }
    .site-main .myprices-extra-name { font-weight: bold; font-size: 1.1rem; color: #2c3e50; margin-bottom: 4px; }
    .site-main .myprices-extra-desc { font-size: 0.9rem; color: #666; line-height: 1.4; margin-bottom: 5px; }
    .site-main .myprices-extra-price { color: #d35400; font-weight: 900; font-size: 1.1rem; }
    
    .site-main .myprices-extra-actions { min-width: 100px; }
    .site-main .shop-quick-add-btn {
      width: 100%; padding: 10px; background: var(--primary-color); color: #fff; border: none;
      border-radius: 6px; cursor: pointer; font-weight: bold; box-shadow: 0 3px 0 #1a252f;
      white-space: nowrap;
    }
    .site-main .shop-quick-add-btn:hover { background: #34495e; }
    .site-main .shop-quick-add-btn:active { transform: translateY(3px); box-shadow: none; }

    @media (max-width: 768px) {
        .site-main .myprices-extra-layout { flex-direction: column; }
        .site-main .myprices-extra-image { flex: none; width: 100%; max-width: 100%; }
        .site-main .myprices-extra-item { flex-direction: column; align-items: flex-start; }
        .site-main .myprices-extra-actions { width: 100%; margin-top: 10px; }
    }

    /* 相關連結 */
    .site-main .related-buttons-grid {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; margin-top: 20px;
    }
    .site-main .related-button {
      display: flex; flex-direction: column; justify-content: center; align-items: center;
      padding: 15px; background: #fff; border: 1px solid #ccc; border-radius: 12px;
      text-decoration: none; color: #333; transition: transform 0.2s, box-shadow 0.2s; text-align: center;
    }
    .site-main .related-button:hover {
      transform: translateY(-3px); box-shadow: 0 6px 10px rgba(0,0,0,0.1); border-color: var(--accent-color);
    }
    .site-main .button-title { font-size: 1.1rem; margin-bottom: 5px; color: var(--primary-color); font-weight: bold; }
    .site-main .button-desc { font-size: 0.85rem; color: #666; }

  

    /* === 付款方式說明（預設收起） === */
    .site-main .pm-info {
      margin-top: 12px;
      border: 1px solid #dfe6e9;
      border-radius: 12px;
      background: #fff;
      overflow: hidden;
      box-shadow: 0 1px 3px rgba(0,0,0,.04);
    }
    .site-main .pm-info summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--accent-color);
  color: #fff;
  user-select: none;
  border-bottom: 1px solid transparent;
}
    .site-main .pm-info summary::-webkit-details-marker { display: none; }
.site-main .pm-info summary:hover {
  filter: brightness(1.02);
}
.site-main .pm-info summary:active {
  filter: brightness(0.98);
}
    .site-main .pm-info summary .pm-hint {
  font-weight: 800;
  color: rgba(255,255,255,.95);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.site-main .pm-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
}
.site-main .pm-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f1c40f;
  color: #2d3436;
  font-weight: 900;
  font-size: 0.85rem;
  box-shadow: 0 2px 0 rgba(0,0,0,.12);
  animation: pmPulse 2.2s ease-in-out infinite;
}
@keyframes pmPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}
    .site-main .pm-info .pm-arrow { transition: transform .18s ease; font-weight: 900; }
    .site-main .pm-info[open] summary { border-bottom-color: #dfe6e9; }
    .site-main .pm-info[open] summary .pm-arrow { transform: rotate(180deg); }
    .site-main .pm-info .pm-body { padding: 12px 14px; }
    .site-main .pm-item { padding: 10px 0; border-bottom: 1px dashed #e9ecef; }
    .site-main .pm-item:last-child { border-bottom: 0; }
    .site-main .pm-name { font-weight: 900; color: #2d3436; }
    .site-main .pm-fee { margin-left: 8px; font-size: 0.9rem; font-weight: 800; color: #555; }
    .site-main .pm-desc { margin-top: 6px; color: #333; line-height: 1.6; font-size: 0.95rem; }
    .site-main .pm-empty { color: #666; line-height: 1.6; font-size: 0.95rem; }
    .site-main .pm-note { margin-top: 10px; font-size: 0.85rem; color: #666; }

#shop-cart-toast.visible { opacity: 1; }
