/* ============================================================
   顯微鏡杜牙根專科專題（zt_genquan）
   所有選擇器均以 .zt_genquan 開頭，配色使用局部 CSS 變數，
   避免污染全站全局樣式。輪播 banner 沿用 .zt_genquan_banner*。
   ============================================================ */

.zt_genquan {
    --primary-color: #16a34a;      /* 薄荷草綠主色 */
    --primary-dark: #15803d;       /* 森林綠 */
    --primary-light: #4ade80;      /* 明亮嫩綠 */
    --secondary-color: #f97316;    /* 活力橘色 */
    --secondary-hover: #ea580c;
    --accent-color: #fde047;       /* 明亮金黃 */
    --zt-primary: #16a34a;
    --zt-primary-dark: #15803d;
    --zt-primary-light: #4ade80;
    --zt-secondary: #f97316;
    --zt-secondary-hover: #ea580c;
    --zt-accent: #fde047;
    --zt-light-bg: #f8faf9;
    --zt-border: #dcfce7;

    width: 100%;
    margin: 0;
    box-sizing: border-box;
    color: #1f2937;
    line-height: 1.75;
    background: var(--zt-light-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang TC", "Microsoft JhengHei", sans-serif;
}

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

/* ---------- 頂部輪播 ---------- */
.zt_genquan_banner {
    width: 100%;
    display: block;
    background: #e9f9ef;
}

.zt_genquan_banner .swiper-slide {
    width: 100%;
}

.zt_genquan_banner_picture,
.zt_genquan_banner_img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- Hero ---------- */
.zt_genquan_hero {
    background: linear-gradient(135deg, #15803d 0%, #22c55e 100%);
    color: #fff;
    padding: 38px 20px;
    text-align: center;
}

.zt_genquan_hero h1 {
    font-size: 23px;
    margin-bottom: 14px;
    color: #fff;
    line-height: 1.35;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.zt_genquan_banner_list {
    list-style: none;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 22px;
}

.zt_genquan_banner_list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ---------- 通用 Section ---------- */
.zt_genquan_section {
    padding: 36px 20px;
}

.zt_genquan_section--white {
    background: #fff;
}

.zt_genquan_section_title {
    font-size: 21px;
    text-align: center;
    color: var(--zt-primary-dark);
    margin-bottom: 8px;
    font-weight: bold;
}

.zt_genquan_section_desc {
    text-align: center;
    color: var(--zt-primary);
    font-size: 13px;
    margin-bottom: 24px;
}

/* ---------- 通用資訊卡 ---------- */
.zt_genquan_info_card {
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid var(--zt-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    margin-bottom: 16px;
}

.zt_genquan_info_card h4 {
    font-size: 15px;
    color: var(--zt-primary-dark);
    font-weight: bold;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zt_genquan_info_card p {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.75;
}

.zt_genquan_info_card p strong {
    color: #1f2937;
}

/* ---------- 卡片網格（多列復用） ---------- */
.zt_genquan_card_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 600px) {
    .zt_genquan_card_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- 顯微鏡亮點卡 ---------- */
.zt_genquan_micro_highlight {
    background: #f0fdf4;
    border: 2px solid var(--zt-primary);
    padding: 22px 18px;
    border-radius: 14px;
    margin-bottom: 18px;
}

.zt_genquan_micro_highlight h3 {
    font-size: 18px;
    color: var(--zt-primary-dark);
    font-weight: bold;
    margin-bottom: 12px;
    text-align: center;
}

.zt_genquan_micro_inner {
    background: #ffffff;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid var(--zt-border);
}

.zt_genquan_micro_list {
    list-style: none;
    padding: 0;
    font-size: 12.5px;
    color: #4b5563;
    line-height: 1.85;
}

.zt_genquan_micro_list li {
    margin-bottom: 6px;
}

/* ---------- FAQ 問答卡 ---------- */
.zt_genquan_faq_box {
    background: #ffffff;
    border: 1px solid var(--zt-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.015);
}

.zt_genquan_faq_q {
    font-size: 15px;
    font-weight: bold;
    color: var(--zt-primary-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid var(--zt-primary);
}

.zt_genquan_faq_a {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.8;
    padding: 4px 6px 0 6px;
}

/* ---------- 價格矩陣 ---------- */
.zt_genquan_price_card {
    background: #ffffff;
    border: 2px solid var(--zt-primary);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.06);
}

.zt_genquan_price_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--zt-border);
    padding: 14px 0;
}

.zt_genquan_price_row:last-child,
.zt_genquan_price_row--last {
    border-bottom: none;
}

.zt_genquan_price_name {
    font-size: 14px;
    font-weight: bold;
    color: var(--zt-primary-dark);
}

.zt_genquan_price_desc {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

.zt_genquan_price_num {
    font-size: 18px;
    font-weight: bold;
    color: var(--zt-secondary);
    text-align: right;
}

.zt_genquan_price_row--last {
    background: #f0fdf4;
    margin: 12px -20px -20px -20px;
    padding: 16px 20px;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid var(--zt-border);
}

.zt_genquan_combo_badge {
    background: #fff7ed;
    color: var(--zt-secondary-hover);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    border: 1px solid #ffedd5;
    display: inline-block;
    margin-top: 4px;
}

.zt_genquan_quality_box {
    background: #ffffff;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid var(--zt-border);
    margin-top: 18px;
    font-size: 12.5px;
    color: #374151;
    line-height: 1.8;
}

/* ---------- 流程 Step Timeline ---------- */
.zt_genquan_step_container {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    border: 1px solid #f3f4f6;
}

.zt_genquan_step_item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.zt_genquan_step_item:last-child {
    margin-bottom: 0;
}

.zt_genquan_step_num {
    width: 30px;
    height: 30px;
    background: var(--zt-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 13px;
}

.zt_genquan_step_text h5 {
    font-size: 14px;
    color: var(--zt-primary-dark);
    margin-bottom: 2px;
}

.zt_genquan_step_text p {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.6;
}

/* ---------- 注意事項卡 ---------- */
.zt_genquan_notice_card {
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid var(--zt-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    margin-bottom: 16px;
}

.zt_genquan_notice_card h4 {
    font-size: 15px;
    color: var(--zt-primary-dark);
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--zt-primary-light);
    padding-bottom: 6px;
    display: inline-block;
}

.zt_genquan_notice_card ul {
    list-style: none;
    padding: 0;
    font-size: 13px;
    color: #374151;
    line-height: 1.8;
}

.zt_genquan_notice_card li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 18px;
}

.zt_genquan_notice_card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--zt-primary);
    font-weight: bold;
    font-size: 16px;
}

/* ---------- 分院地址 ---------- */
.zt_genquan_branch_card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--zt-border);
}

.zt_genquan_branch_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--zt-border);
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.zt_genquan_branch_title {
    font-size: 15px;
    font-weight: bold;
    color: var(--zt-primary-dark);
}

.zt_genquan_branch_tag {
    background: #f0fdf4;
    color: var(--zt-primary);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: bold;
    border: 1px solid var(--zt-border);
}

.zt_genquan_branch_info {
    font-size: 12px;
    color: #4b5563;
    line-height: 1.7;
}

.zt_genquan_branch_info p {
    margin-bottom: 3px;
}

/* ---------- Hero WhatsApp 按鈕（公共方法：data-whatsapp 由 comm.js 綁定） ---------- */
.zt_genquan_wa_btn {
    display: inline-block;
    margin-top: 18px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    padding: 13px 34px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.zt_genquan_wa_btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(249, 115, 22, 0.5);
}
