/* 滙客萊網站樣式 */

/* ===== 統一手機版和小螢幕內文字體大小系統 ===== */
:root {
    /* 基礎字體大小變數 */
    --base-font-size: 16px;
    --base-line-height: 1.6;
    
    /* 標題字體大小 */
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
    --h4-size: 1.25rem;
    --h5-size: 1.1rem;
    --h6-size: 1rem;
    
    /* 內文字體大小 */
    --body-text-size: 1rem;
    --small-text-size: 0.9rem;
    --large-text-size: 1.1rem;
    --caption-text-size: 0.8rem;
}

/* 手機版和小螢幕統一字體大小 */
@media (max-width: 768px) {
    :root {
        /* 手機版標題字體大小 */
        --h1-size: 2rem;
        --h2-size: 1.75rem;
        --h3-size: 1.4rem;
        --h4-size: 1.2rem;
        --h5-size: 1.1rem;
        --h6-size: 1rem;
        
        /* 手機版內文字體大小 = 與導航欄一致 */
        --body-text-size: var(--nav-font-size);
        --small-text-size: var(--nav-small-font-size);
        --large-text-size: var(--nav-font-size);
        --caption-text-size: 0.85rem;
    }
    
    /* 強制統一所有內文字體大小 */
    body, p, div, span, li, td, th, label, input, textarea, select, button {
        font-size: var(--body-text-size) !important;
        line-height: var(--base-line-height);
    }
    
    /* 標題字體大小統一 */
    h1 { font-size: var(--h1-size) !important; }
    h2 { font-size: var(--h2-size) !important; }
    h3 { font-size: var(--h3-size) !important; }
    h4 { font-size: var(--h4-size) !important; }
    h5 { font-size: var(--h5-size) !important; }
    h6 { font-size: var(--h6-size) !important; }
    
    /* 特殊文字大小統一 */
    .section-title { font-size: var(--h2-size) !important; }
    .team-member h4 { font-size: var(--h4-size) !important; }
    .team-member p { font-size: var(--body-text-size) !important; }
    .achievement-content h4 { font-size: var(--h4-size) !important; }
    .achievement-content p { font-size: var(--body-text-size) !important; }
    .president-content h2 { font-size: var(--h2-size) !important; }
    .president-content p { font-size: var(--body-text-size) !important; }

    /* 手機：防止系統字級放大影響研發團隊與導覽項目 */
    .team-section, .team-section * { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
    .nav-menu, .nav-menu * { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

    /* 手機：企業使命區塊統一字級，禁用字級自動放大避免不一致 */
    .about-section, .about-section * { -webkit-text-size-adjust: none; text-size-adjust: none; }

	/* 手機：頁腳版權文字大小與內文一致（中英文皆適用） */
	.footer p,
	.footer [data-i18n="footer.copyright"] {
		font-size: var(--body-text-size) !important;
		line-height: var(--base-line-height);
	}

	/* 手機：避免系統自動放大影響頁腳字級一致性 */
	.footer, .footer * { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

	/* 手機：英文版產品頁禁用系統字級自動放大，確保字級一致 */
	html[lang="en"] .product-section,
	html[lang="en"] .product-section * {
		-webkit-text-size-adjust: none !important;
		text-size-adjust: none !important;
	}

	/* 手機：所有語系的產品內容區（含主要成分清單）禁用系統字級自動放大 */
	.product-section .product-info,
	.product-section .product-info * {
		-webkit-text-size-adjust: none !important;
		text-size-adjust: none !important;
	}

	/* 手機：產品內容字級改用固定 px，避免跟隨系統字級（含主要成分清單） */
	.product-section .product-info,
	.product-section .product-info p,
	.product-section .product-info li,
	.product-section .product-info .ingredient-detail li,
	.product-section .product-info ul li {
		font-size: 16px !important;
		line-height: 1.6;
	}

	/* 手機：主要成分清單特別處理，避免特別放大 */
	.product-section .product-info .ingredient-detail,
	.product-section .product-info .ingredient-detail li {
		font-size: 16px !important;
		line-height: 1.6 !important;
		-webkit-text-size-adjust: none !important;
		text-size-adjust: none !important;
	}

	.product-section .product-info h2,
	.product-section .product-info h3,
	.product-section .product-info h4,
	.product-section .product-info h5,
	.product-section .product-info h6 {
		font-size: 16px !important;
		line-height: 1.6;
	}
}

/* 小螢幕進一步優化 */
@media (max-width: 480px) {
    :root {
        /* 小螢幕標題字體大小 */
        --h1-size: 1.8rem;
        --h2-size: 1.6rem;
        --h3-size: 1.3rem;
        --h4-size: 1.15rem;
        --h5-size: 1.05rem;
        --h6-size: 1rem;
        
        /* 小螢幕內文字體大小 = 與導航欄一致 */
        --body-text-size: var(--nav-font-size);
        --small-text-size: var(--nav-small-font-size);
        --large-text-size: var(--nav-font-size);
        --caption-text-size: 0.85rem;
    }
}

/* 超小螢幕優化 */
@media (max-width: 360px) {
    :root {
        /* 超小螢幕標題字體大小 */
        --h1-size: 1.6rem;
        --h2-size: 1.4rem;
        --h3-size: 1.2rem;
        --h4-size: 1.1rem;
        --h5-size: 1rem;
        --h6-size: 0.95rem;
        
        /* 超小螢幕內文字體大小 = 與導航欄一致 */
        --body-text-size: var(--nav-font-size);
        --small-text-size: var(--nav-small-font-size);
        --large-text-size: var(--nav-font-size);
        --caption-text-size: 0.8rem;
    }
}

/* ===== 原有樣式開始 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* 錨點跳轉偏移設置，避免被固定導航欄遮擋 */
html {
    scroll-padding-top: 80px;
}

body {
    font-family: 'Microsoft JhengHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* 容器 */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 導航欄 */
.navbar {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* 導航容器樣式已移至 navigation.css 中統一管理（移除空規則） */

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 24px;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

/* 導航選單樣式已移至 navigation.css 中統一管理（移除空規則） */

/* 導航選單項目樣式已移至 navigation.css 中統一管理（移除空規則） */

/* 導航選單鏈結樣式已移至 navigation.css 中統一管理（移除空規則） */

/* 導航選單鏈結懸停樣式已移至 navigation.css 中統一管理（移除空規則） */

/* 登入按鈕樣式已移至 navigation.css 中統一管理（移除空規則） */

/* 登入按鈕懸停樣式已移至 navigation.css 中統一管理（移除空規則） */

/* 漢堡選單 - 已移除 */
.hamburger {
    display: none !important;
}

/* 主要內容區域 */
.main-content {
    padding-top: 0 !important;
}
.section.about-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.section-title {
    text-align: center;
    color: #ff6b35;
    font-size: var(--h1-size);
    margin-bottom: 30px;
    font-weight: bold;
}

/* 總裁的話標題改白色 */
.president-section .section-title {
    color: white;
}

/* 公司簡介 */
.about-section {
    background: linear-gradient(135deg, #fff5f0, #fff);
    padding: 40px 0;
    border-radius: 0;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: none !important;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
}

.about-intro {
    margin-bottom: 60px;
}

.intro-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.1), 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(255, 107, 53, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #ff6b35;
}

.intro-card:hover::before {
    transform: scaleX(1);
}

.intro-icon {
    font-size: var(--h1-size);
    margin-bottom: 20px;
    display: block;
}

.intro-card h3 {
    color: #ff6b35;
    font-size: var(--h2-size);
    margin-bottom: 20px;
    font-weight: bold;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-card p {
    font-size: var(--h4-size);
    line-height: var(--base-line-height);
    color: #333;
    margin: 0;
}

.intro-card strong {
    color: #ff6b35;
    background: #fff3ed;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

/* 企業使命亮點 */
.mission-highlights {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: linear-gradient(145deg, #fff, #f8f9fa);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
}

.highlight-icon {
    font-size: 1.5rem;
    display: block;
}

.highlight-item span:last-child {
    font-weight: bold;
    color: #ff6b35;
    font-size: 0.9rem;
}

/* 成就部分 */
.about-achievements {
    margin-bottom: 60px;
}

.achievements-title {
    text-align: center;
    color: #ff6b35;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
}

.achievements-title::after {
    display: none;
}

.achievements-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-style: normal;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-item {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.1), 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #ff6b35;
}

.achievement-item:hover::before {
    transform: scaleX(1);
}

.achievement-icon {
    font-size: var(--h1-size);
    margin-bottom: 15px;
    display: block;
    transition: transform 0.3s ease;
}

.achievement-item:hover .achievement-icon {
    transform: scale(1.1);
}

.achievement-content h4 {
    color: #ff6b35;
    font-size: var(--h4-size);
    margin-bottom: 10px;
    font-weight: bold;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.achievement-content p {
    font-size: var(--body-text-size);
    line-height: var(--base-line-height);
    color: #333333;
    margin: 0;
}

.achievement-content strong {
    color: #333333;
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-weight: bold;
}

.achievement-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 6px 16px;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    font-size: var(--large-text-size);
    font-weight: bold;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: fit-content;
}

.achievement-item:hover .achievement-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
}



.about-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
    width: 1300px;
}

.about-images img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 總裁的話 */
.president-section {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 40px 0;
    border-radius: 0;
    margin: 40px 0;
}

/* 修正錨點跳轉至「總裁的話」時右側出現空白的問題
   原因：inline style 使用 width: 100vw + 負邊距在部分瀏覽器含入垂直捲軸寬度，導致區塊實寬略大於視窗寬
   解法：僅對 #president 覆寫為 100% 並移除左右位移 */
#president {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

.president-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: center;
}

.president-image {
    text-align: center;
}

.president-image img {
    width: 200px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.president-text {
    font-size: var(--body-text-size);
    line-height: var(--base-line-height);
}

.president-name {
    font-size: var(--h3-size);
    font-weight: bold;
    margin-bottom: 10px;
}

/* 研發團隊 */
.team-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff9f6, #fff);
    border-radius: 0;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ff6b35" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 0;
}

.team-section .container {
    position: relative;
    z-index: 1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 40px auto;
    padding: 0 40px;
}

.team-member {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.1), 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(255, 107, 53, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #ff6b35;
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin-bottom: 25px;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.3);
}

/* 移除重複定義，使用下面的增強版本 */

.team-member h4 {
    color: #333;
    margin-bottom: 20px;
    font-size: var(--large-text-size);
    font-weight: 600;
    line-height: var(--base-line-height);
    position: relative;
    padding-bottom: 10px;
}

.team-member p {
    font-size: var(--body-text-size);
    line-height: var(--base-line-height);
    color: #555;
    text-align: left !important;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    margin-top: 15px;
    border-left: 3px solid #ff6b35;
}

.team-member p br {
    margin-bottom: 8px;
    display: block;
}

/* 團隊成員特殊效果 */
.team-member:nth-child(1) {
    background: linear-gradient(145deg, #fff, #fff5f0);
}

.team-member:nth-child(2) {
    background: linear-gradient(145deg, #fff, #f0f8ff);
}

.team-member:nth-child(3) {
    background: linear-gradient(145deg, #fff, #f0fff0);
}

/* 研發團隊標題增強 */
.team-section .section-title {
    position: relative;
    margin-bottom: 60px;
    text-shadow: 0 2px 4px rgba(255, 107, 53, 0.1);
}

.team-section .section-title::after {
    display: none;
}

.team-section .section-title::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    opacity: 0;
}

/* 團隊成員職位標籤增強 */
.team-member h3 {
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border-radius: 25px;
    font-size: var(--h4-size);
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    font-weight: bold;
}

.team-member h3::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 27px;
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.team-member:hover h3::before {
    opacity: 0.6;
}

/* 團隊成員姓名樣式 */
/* 移除重複的 h4 樣式（上方已合併增強） */

.team-member h4::after {
    display: none;
}

/* 團隊成員描述文字增強 */
.team-member p {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    border-left: 3px solid #ff6b35;
}

.team-member p::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 10px;
    background: white;
    padding: 0 5px;
    font-size: 0.8rem;
}

/* 優勢和分享 */
.advantages-section {
    background: linear-gradient(135deg, #fff5f0, #fff);
    padding: 60px 0;
    border-radius: 0;
    margin: 40px 0;
}

.advantages-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
}

.advantages-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
    width: 1300px;
}

.advantages-images img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 產品頁面 */
.product-section {
    padding: 40px 0;
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.product-info {
    background: linear-gradient(135deg, #fffaf6 60%, #f7f7ff 100%);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 1.5px 4px rgba(255,107,53,0.08);
    padding: 40px 32px 32px 32px;
    margin-bottom: 48px;
    text-align: left;
    border: 1.5px solid #ffe1d6;
    position: relative;
    overflow: hidden;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.product-images img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 產品頁：方形兩欄圖片容器 */
.product-square-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.image-square {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #f5f5f5;
}

.image-square img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

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

.product-info h2 {
    color: #ff6b35;
    font-size: var(--h2-size);
    margin-bottom: 48px;
    position: relative;
    display: block;
    padding-bottom: 6px;
}
.product-info h2::after {
    display: none;
}

.product-info h3 {
    color: #ff6b35;
    font-size: var(--h3-size);
    margin: 24px 0 10px 0;
    letter-spacing: 1px;
    font-weight: bold;
    border-left: 4px solid #ff6b35;
    padding-left: 10px;
    background: #fff3ed;
    border-radius: 4px;
    display: inline-block;
}

/* 手機避免系統字級調整影響的固定字級類別（套用在特定小標上） */
.fixed-mobile-text {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
/* 不強制覆蓋字級，維持與其他 h3 相同的 var(--h3-size)；僅避免系統字級放大 */

/* 固定「成分詳細說明」內文字級，避免受手機系統字級影響 */
.product-info h3[data-i18n="product.sb1.ingredients.detail.title"] + p,
.product-info h3[data-i18n="product.sb1.ingredients.detail.title"] + ul,
.product-info h3[data-i18n="product.sb1.ingredients.detail.title"] + ul li {
    font-size: var(--body-text-size);
    line-height: var(--base-line-height);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* 產品頁面所有內容統一樣式 */
.product-info p, .product-info li, .product-info .ingredient-detail li, .product-info ul li {
    margin-bottom: 12px;
    line-height: var(--base-line-height);
    font-size: var(--body-text-size);
    color: #333;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 1.5em;
}
/* 產品頁面所有內容的星星裝飾統一樣式 */
.product-info p::before, .product-info li::before, .product-info .ingredient-detail li::before, .product-info ul li::before {
    content: "★";
    color: #ffb085;
    position: absolute;
    left: 0;
    font-size: 1em;
    top: 0.1em;
}

.product-info strong {
    color: #333;
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-weight: bold;
}

/* 成分詳細說明中冒號後面的文字不是粗體 */
.product-info .ingredient-detail strong {
    font-weight: bold;
}

/* 成分詳細說明中冒號後面的內容使用正常字重 */
.product-info .ingredient-detail strong::after {
    content: attr(data-content);
    font-weight: normal;
}

.product-info ul {
    margin-left: 20px;
    list-style: none;
}
/* 產品頁：段落與主要成分清單左邊界對齊 */
.product-info p {
    margin-left: 20px;
}

/* SGS認證 */
.sgs-section {
    background: linear-gradient(135deg, #fff5f0, #fff);
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
}

/* SGS 內文字級與行距統一設定（移除，改用下方更完整的統一規則） */

/* 手機版SGS區塊優化 */
@media (max-width: 768px) {
    .sgs-section {
        padding: 20px;
        margin: 20px 0;
    }
    
    .sgs-title {
        font-size: var(--h3-size);
        margin-bottom: 20px;
        padding: 0 10px;
        word-break: keep-all;
        line-height: 1.3;
    }
    
    /* 手機版SGS內容優化 */
    .sgs-section p {
        padding-left: 0;
        text-align: center;
        margin-bottom: 15px;
    }
    
    /* 手機版SGS內容星星裝飾優化 */
    .sgs-section p::before {
        display: none; /* 手機版隱藏星星裝飾，避免空間不足 */
    }
}

/* 小螢幕SGS區塊進一步優化 */
@media (max-width: 480px) {
    .sgs-section {
        padding: 15px;
        margin: 15px 0;
    }
    
    .sgs-title {
        font-size: var(--h3-size);
        margin-bottom: 15px;
        padding: 0 5px;
        word-break: keep-all;
        line-height: 1.2;
    }
    
    .sgs-section p {
        padding-left: 0;
        text-align: center;
        margin-bottom: 12px;
        font-size: var(--body-text-size);
    }
}

/* 超小螢幕SGS區塊優化 */
@media (max-width: 360px) {
    .sgs-section {
        padding: 10px;
        margin: 10px 0;
    }
    
    .sgs-title {
        font-size: var(--h3-size);
        margin-bottom: 12px;
        padding: 0 3px;
        word-break: keep-all;
        line-height: 1.2;
    }
    
    .sgs-section p {
        padding-left: 0;
        text-align: center;
        margin-bottom: 10px;
        font-size: var(--body-text-size);
    }
}

.sgs-title {
    text-align: center;
    color: #ff6b35;
    font-size: var(--h3-size);
    margin-bottom: 30px;
}

/* SGS內容與產品說明完全統一樣式 */
.sgs-section p {
    text-align: center;
    margin-bottom: 12px;
    line-height: var(--base-line-height);
    font-size: var(--body-text-size) !important;
    color: #333;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 1.5em;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* SGS內容的星星裝飾統一樣式 */
.sgs-section p::before {
    content: "★";
    color: #ffb085;
    position: absolute;
    left: 0;
    font-size: 1em;
    top: 0.1em;
}

.sgs-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.sgs-images img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sgs-images img:hover {
    transform: scale(1.05);
}

/* 浮動視窗 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background-color: white;
    border-radius: 15px;
    text-align: center;
    overflow: auto;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #ff6b35;
}

.close:hover {
    color: #ff8c42;
}

.modal img {
    max-width: 100%;
    max-height: calc(90vh - 60px);
    width: auto;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}

/* LINE ID 資訊樣式 */
.modal-line-info {
    margin-top: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
}

.modal-line-info p {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.line-id {
    color: #ff6b35 !important;
    font-weight: bold !important;
}

/* 頁腳 */
.footer {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    text-align: center;
    padding: 30px 0 120px 0; /* 大幅增加底部 padding 避免被導航欄遮擋 */
    margin-top: 60px;
    position: relative;
    z-index: 100;
    width: 100%;
    clear: both;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 頁腳外部連結圖示排版 */
.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    justify-items: center;
    align-items: center;
    max-width: 360px;
    margin: 0 auto 12px auto;
}
.footer-links img {
    width: 100%;
    max-width: 160px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 2px solid rgba(255,255,255,0.6);
    background: #fff;
}
@media (max-width: 480px) {
    .footer-links {
        gap: 10px;
        max-width: 320px;
        margin-bottom: 10px;
    }
    .footer-links img {
        max-width: 140px;
    }
}

.text-container {
    max-width: 1300px;
    margin: 0 auto 40px auto;
    width: 100%;
}

/* 桌面版會員登入按鈕樣式 */
.nav-menu .login-btn {
    background-color: #fff !important;
    color: #ff6b35 !important;
    border: 2px solid #fff !important;
}

.nav-menu .login-btn:hover {
    background-color: #fff !important;
    color: #ff6b35 !important;
    border: 2px solid #fff !important;
}

/* 響應式設計 */
@media (max-width: 1024px) {
    .navbar {
        position: static !important;
        top: auto !important;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-menu a {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    
    .login-btn {
        padding: 6px 14px;
        font-size: 0.9rem;
        background-color: #fff;
        color: #ff6b35;
        border: 2px solid #fff;
    }
    
    /* 研發團隊在平板尺寸改為一列一個（合併至下方同區塊） */
}

/* 電腦版（1024px以上）研發團隊確保三列顯示 */
@media (min-width: 1025px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .team-member {
        padding: 40px 30px;
    }
    
    .team-member img {
        width: 180px;
        height: 180px;
    }
    
    /* 電腦版成就部分確保兩列顯示 */
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 1200px;
    }
    
    /* 電腦版勳章字體加大 */
    .achievement-badge {
        font-size: 1.3rem;
        padding: 8px 20px;
    }
}

/* 修正 768px 到 1134px 範圍的顯示問題 */
@media (min-width: 769px) and (max-width: 1134px) {
    /* 導航欄樣式已移至 navigation.css 中統一管理 */
    
    /* 研發團隊在平板尺寸改為一列一個（保留統一版本，移除重複） */
    
    /* 確保滿版容器在這個範圍內正常顯示 */
    section[style*="width: 100vw"] {
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        overflow-x: hidden;
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    /* 圖片網格在這個範圍內的顯示 */
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin: 30px 0;
    }
    
    .image-grid img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 10px;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    /* 成就網格在這個範圍內的顯示 */
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 1000px;
        margin: 0 auto;
    }
    
    .achievement-item {
        padding: 25px 20px;
    }
    
    /* 團隊網格在這個範圍內的顯示 - 改為一列一個 */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .team-member {
        padding: 30px 20px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }
    
    .team-member img {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 768px) {
    /* 導航欄樣式已移至 navigation.css 中統一管理 */

    .president-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* 成就區塊在手機版改為一列一個區塊 */
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 500px;
        margin: 0 auto;
    }

        /* 研發團隊在手機版改為單列，但保持豐富的樣式 */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .team-member {
        padding: 35px 25px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .team-member img {
        width: 160px;
        height: 160px;
    }

    .team-member h3 {
        font-size: 1.3rem;
    }

    .team-member h4 {
        font-size: 1rem;
    }

    .team-member p {
        font-size: 0.95rem;
        text-align: left !important;
        padding: 15px;
        background: rgba(255, 255, 255, 0.7);
        border-radius: 10px;
        margin-top: 15px;
        border-left: 3px solid #ff6b35;
    }

    .about-images {
        width: 100%;
        max-width: 100%;
    }

    .advantages-images {
        width: 100%;
        max-width: 100%;
    }

    /* 已移除重複的 .product-images/.sgs-images/.section-title/.container/.product-info 規則（上方已存在相同設定） */

    .president-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-images {
        width: 100%;
        max-width: 100%;
    }

    .advantages-images {
        width: 100%;
        max-width: 100%;
    }

    .product-images {
        width: 100%;
        max-width: 100%;
    }

    .sgs-images {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .product-info {
        padding: 20px 8px 16px 8px;
    }
    .product-section .product-info h2 {
        font-size: 1.3rem !important;
        line-height: 1.4;
    }

    /* 關於滙客萊響應式設計 */
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 500px;
        margin: 0 auto;
    }

    .achievement-item {
        padding: 25px;
    }

    .intro-card {
        padding: 30px;
    }

    .intro-card h3 {
        font-size: 1.5rem;
    }

    .intro-card p {
        font-size: 1.1rem;
    }

    .achievements-title {
        font-size: 1.8rem;
    }

    .achievements-subtitle {
        font-size: 1rem;
    }

    .mission-highlights {
        gap: 20px;
    }

    .highlight-item {
        padding: 12px;
    }

    /* 成就徽章手機版優化 */
    .achievement-badge {
        font-size: 0.8rem;
        padding: 3px 12px;
        white-space: nowrap;
        min-width: fit-content;
        width: auto;
        border-radius: 0 !important;
        -webkit-border-radius: 0 !important;
        -moz-border-radius: 0 !important;
    }
}

@media (max-width: 480px) {
    .navbar {
        position: static !important;
        top: auto !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    .team-member {
        padding: 20px;
    }

    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* 480px以下成就部分改為一列一個區塊 */
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .achievement-item {
        padding: 20px;
    }
    
    .achievement-content h4 {
        font-size: 1.1rem;
    }
    
    .achievement-content p {
        font-size: 0.9rem;
    }
    
    .achievement-icon {
        font-size: 2.5rem;
    }

    /* 成就徽章小螢幕優化 */
    .achievement-badge {
        font-size: 0.8rem;
        padding: 3px 12px;
        white-space: nowrap;
        min-width: fit-content;
        width: auto;
        border-radius: 0 !important;
        -webkit-border-radius: 0 !important;
        -moz-border-radius: 0 !important;
    }
    
    /* QR code 在小螢幕上的進一步修正 */
    .container[style*="position: fixed"],
    .qr-code-container {
        bottom: 10px !important;
        right: 10px !important;
        max-width: calc(100vw - 20px) !important;
        max-height: calc(100vh - 20px) !important;
        overflow: hidden !important;
        position: fixed !important;
        z-index: 1000 !important;
    }
    
    .container[style*="position: fixed"] img,
    .qr-code-container img {
        width: 50px !important;
        height: 50px !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }
    
    .container[style*="position: fixed"] div,
    .qr-code-container div {
        font-size: 9px !important;
        margin-bottom: 2px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

/* 動畫效果 - 優化版本 */
.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 動畫觸發後的狀態 */
.slide-in-left.animate,
.slide-in-right.animate,
.slide-in-up.animate,
.fade-in.animate {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* 為不同元素添加延遲動畫 */
.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.2s; }
.fade-in:nth-child(3) { transition-delay: 0.3s; }
.fade-in:nth-child(4) { transition-delay: 0.4s; }
.fade-in:nth-child(5) { transition-delay: 0.5s; }

/* 圖片動畫效果 */
.about-images img.fade-in,
.advantages-images img.fade-in {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 團隊成員動畫 */
.team-member.fade-in {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-member.fade-in:nth-child(1) { transition-delay: 0.1s; }
.team-member.fade-in:nth-child(2) { transition-delay: 0.2s; }
.team-member.fade-in:nth-child(3) { transition-delay: 0.3s; }

/* 成就項目動畫 */
.achievement-item.fade-in {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.achievement-item.fade-in:nth-child(1) { transition-delay: 0.1s; }
.achievement-item.fade-in:nth-child(2) { transition-delay: 0.2s; }
.achievement-item.fade-in:nth-child(3) { transition-delay: 0.3s; }
.achievement-item.fade-in:nth-child(4) { transition-delay: 0.4s; }

/* 影片項目動畫 */
.video-item.fade-in {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-item.fade-in:nth-child(1) { transition-delay: 0.1s; }
.video-item.fade-in:nth-child(2) { transition-delay: 0.2s; }
.video-item.fade-in:nth-child(3) { transition-delay: 0.3s; }

/* 幻燈片文字動畫 */
.carousel-text.fade-in {
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-nav button.fade-in {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 響應式設計中的動畫調整 */
@media (max-width: 768px) {
    .slide-in-left,
    .slide-in-right {
        transform: translateX(-50px);
    }
    
    .slide-in-up {
        transform: translateY(30px);
    }
    
    .fade-in {
        transform: translateY(20px);
    }
    
    /* 手機版減少動畫延遲 */
    .fade-in:nth-child(1) { transition-delay: 0.05s; }
    .fade-in:nth-child(2) { transition-delay: 0.1s; }
    .fade-in:nth-child(3) { transition-delay: 0.15s; }
    .fade-in:nth-child(4) { transition-delay: 0.2s; }
    .fade-in:nth-child(5) { transition-delay: 0.25s; }
} 

/* 健康資訊區塊 */
.health-info-section {
    background: linear-gradient(135deg, #fff5f0, #fff);
    padding: 60px 0;
    border-radius: 0;
    margin: 40px 0;
}

.health-videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.video-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #ff8c42;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.video-item:hover .play-button {
    background: #ff8c42;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-item h3 {
    padding: 20px;
    margin: 0;
    color: #333;
    font-size: 1.1rem;
    text-align: center;
    font-weight: bold;
}

/* YouTube影片浮動視窗 */
.video-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.video-modal-content {
    position: relative;
    margin: 2% auto;
    padding: 20px;
    width: 90%;
    max-width: 900px;
    background-color: transparent;
    border-radius: 15px;
    text-align: center;
}

.video-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    z-index: 3001;
    transition: color 0.3s ease;
}

.video-close:hover {
    color: #ff8c42;
}

#video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 比例 */
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

#video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 響應式設計 - 健康資訊 */
@media (max-width: 768px) {
    .health-videos {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .video-thumbnail {
        height: 180px;
    }
    
    .video-modal-content {
        margin: 5% auto;
        width: 95%;
    }
    
    .video-close {
        top: -35px;
        font-size: 30px;
    }
    
    /* QR code 響應式修正 */
    .container[style*="position: fixed"],
    .qr-code-container {
        bottom: 15px !important;
        right: 15px !important;
        left: auto !important;
        max-width: calc(100vw - 30px) !important;
        max-height: calc(100vh - 30px) !important;
        overflow: hidden !important;
        position: fixed !important;
        z-index: 1000 !important;
    }
    
    .container[style*="position: fixed"] img,
    .qr-code-container img {
        width: 60px !important;
        height: 60px !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }
    
    .container[style*="position: fixed"] div,
    .qr-code-container div {
        font-size: 10px !important;
        margin-bottom: 3px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
} 

/* 新增：專門處理 481px 到 762px 之間的寬度，研發團隊改為一列一個 */
@media (min-width: 481px) and (max-width: 762px) {
    /* 研發團隊 - 改為一列一個 */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .team-member {
        padding: 30px 20px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }
    
    .team-member img {
        width: 140px;
        height: 140px;
    }
    
    .team-member h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .team-member h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .team-member p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* 健康資訊 - 維持一列三個 */
    .health-videos {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 15px;
    }
    
    .video-thumbnail {
        height: 120px;
    }
    
    .video-item h3 {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .play-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* 世界頂尖科技團隊優勢 - 維持一列三個 */
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin: 20px 0;
    }
    
    .image-grid img {
        height: 120px;
    }
} 

/* 額外的 QR code 響應式修正 - 處理超小螢幕 */
@media (max-width: 360px) {
    .container[style*="position: fixed"],
    .qr-code-container {
        bottom: 5px !important;
        right: 5px !important;
        max-width: calc(100vw - 10px) !important;
        max-height: calc(100vh - 10px) !important;
        position: fixed !important;
        z-index: 1000 !important;
    }
    
    .container[style*="position: fixed"] img,
    .qr-code-container img {
        width: 45px !important;
        height: 45px !important;
    }
    
    .container[style*="position: fixed"] div,
    .qr-code-container div {
        font-size: 8px !important;
        margin-bottom: 1px !important;
    }
}

/* 處理橫向螢幕的情況 */
@media (max-height: 500px) and (orientation: landscape) {
    .container[style*="position: fixed"],
    .qr-code-container {
        bottom: 5px !important;
        right: 5px !important;
        max-height: calc(100vh - 10px) !important;
        position: fixed !important;
        z-index: 1000 !important;
    }
    
    .container[style*="position: fixed"] img,
    .qr-code-container img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .container[style*="position: fixed"] div,
    .qr-code-container div {
        font-size: 8px !important;
        margin-bottom: 1px !important;
    }
}

/* 確保 QR code 在極窄螢幕上不會超出 */
@media (max-width: 320px) {
    .container[style*="position: fixed"],
    .qr-code-container {
        bottom: 3px !important;
        right: 3px !important;
        max-width: calc(100vw - 6px) !important;
        position: fixed !important;
        z-index: 1000 !important;
    }
    
    .container[style*="position: fixed"] img,
    .qr-code-container img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .container[style*="position: fixed"] div,
    .qr-code-container div {
        font-size: 7px !important;
        margin-bottom: 1px !important;
    }
} 

/* 專門針對 Chrome 開發者工具的 QR code 修正 */
.qr-code-container {
    position: fixed !important;
    z-index: 1000 !important;
    overflow: hidden !important;
}

.qr-code-container img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.qr-code-container div {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* 強制確保 QR code 在所有情況下都在視窗內 */
@media (max-width: 768px) {
    .qr-code-container {
        bottom: 15px !important;
        right: 15px !important;
        left: auto !important;
        max-width: calc(100vw - 30px) !important;
        max-height: calc(100vh - 30px) !important;
    }
    
    .qr-code-container img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .qr-code-container div {
        font-size: 10px !important;
        margin-bottom: 3px !important;
    }
}

@media (max-width: 480px) {
    .qr-code-container {
        bottom: 10px !important;
        right: 10px !important;
        max-width: calc(100vw - 20px) !important;
        max-height: calc(100vh - 20px) !important;
    }
    
    .qr-code-container img {
        width: 50px !important;
        height: 50px !important;
    }
    
    .qr-code-container div {
        font-size: 9px !important;
        margin-bottom: 2px !important;
    }
} 

/* 強制 QR code 永遠在右下角且不超出螢幕 */
.qr-code-container {
  position: fixed !important;
  right: 0 !important;
  bottom: 0 !important;
  margin: 0 !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  z-index: 1000 !important;
  box-sizing: border-box !important;
  padding: 0 20px 20px 0 !important;
  background: none !important;
}
.qr-code-container img {
  display: block;
  max-width: 80px;
  max-height: 80px;
  width: 100%;
  height: auto;
}
@media (max-width: 1024px) {
  .qr-code-container img {
    max-width: 60px;
    max-height: 60px;
  }
}
@media (max-width: 480px) {
  .qr-code-container img {
    max-width: 45px;
    max-height: 45px;
  }
} 

img, .carousel-container, .carousel-slide, .about-images, .product-images, .sgs-images {
    max-width: 100%;
    box-sizing: border-box;
} 

.image-caption-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 0;
  min-width: 0;
}
.caption-text {
  margin-top: 16px;
  font-size: 1.18rem;
  font-weight: bold;
  color: #ff6b35;
  letter-spacing: 2px;
  text-align: center;
}
.image-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 32px 0;
}
@media (max-width: 900px) {
  .image-row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .image-caption-col {
    width: 100%;
    max-width: 320px;
  }
} 

.bg-orange {
  background: #fff3ed !important;
}
.bg-white {
  background: #fff !important;
} 

.bg-navbar {
  background: linear-gradient(135deg, #ff6b35, #ff8c42) !important;
} 

.row-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.president-image {
  flex: 0 0 auto;
  text-align: center;
}
.president-quote {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  /* 讓總裁的話自動換行且不產生橫向卷軸 */
  white-space: normal !important;
  overflow-x: visible !important;
}
.quote-text {
  text-align: center;
  margin: 0 auto;
  white-space: nowrap;
  overflow-x: auto;
  max-width: 100%;
}
.quote-chinese {
  font-size: 1.15rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.quote-english {
  font-size: 1rem;
  color: #fff;
  font-style: italic;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .quote-text, .quote-chinese, .quote-english {
    white-space: normal;
    font-size: 1rem;
  }
}
.bg-navbar .president-name,
.bg-navbar .president-image p {
  color: #fff;
}
@media (max-width: 900px) {
  .row-flex {
    flex-direction: column;
    gap: 24px;
  }
  .president-quote {
    min-width: 0;
  }
} 

.president-content.row-flex {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  box-sizing: border-box;
} 

/* 修正錨點跳轉時右側空白：讓總裁的話內容也靠左對齊 */
#president .president-content.row-flex {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1000px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* 調整總裁照片與文字的間距，讓它們更靠近 */
#president .row-flex {
    gap: 30px !important;
    justify-content: center !important;
}

/* 修正錨點跳轉時動畫造成的右側空白：立即觸發動畫 */
#president.slide-in-right {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.double-feature-flex {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin: 40px 0 60px 0;
}
.feature-left, .feature-right {
  flex: 1 1 0;
  max-width: 420px;
  min-width: 320px;
  min-height: 520px;
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.1), 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature-left {
  border-right: 2px solid #ffe0d0;
}
.feature-right {
  border-left: 2px solid #ffe0d0;
}
.double-feature-flex .section-title {
  font-size: 2.1rem;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: 2px;
  border-bottom: 3px solid #ff6b35;
  display: inline-block;
  padding-bottom: 6px;
}
.advantages-text.text-container {
  font-size: 1.18rem;
  line-height: 2.1;
  color: #333;
  margin-bottom: 0;
  font-weight: 500;
}
.advantages-text.text-container strong {
  color: #ff6b35;
  font-weight: 700;
  background: #fff3ed;
  border-radius: 4px;
  padding: 0 4px;
}
@media (max-width: 900px) {
  .double-feature-flex {
    flex-direction: column;
    gap: 30px;
    margin: 30px 0 40px 0;
    align-items: center;
  }
  .feature-left, .feature-right {
    max-width: 95vw;
    min-width: 0;
    min-height: 400px;
    padding: 30px 12px;
  }
  .double-feature-flex .section-title {
    font-size: 1.3rem;
    padding-bottom: 3px;
    margin-bottom: 10px;
  }
  .advantages-text.text-container {
    font-size: 1rem;
    line-height: 1.8;
  }
  
  .advantages-text.text-container .card-image {
    height: 150px;
    margin-top: 15px;
  }
} 

/* 幻燈片輪播樣式 */
.carousel-container {
    position: relative;
    overflow: hidden;
    height: 80vh;
    margin-top: 0;
}
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.carousel-slide.active {
    opacity: 1;
}
.carousel-content {
    position: relative;
    z-index: 10;
    height: 100%;
    /* background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3)); */
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ff8c42;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 20;
    color: white;
    font-size: 18px;
}
.carousel-nav button:hover {
    background: #ff8c42;
}
.carousel-nav .prev {
    left: 20px;
}
.carousel-nav .next {
    right: 20px;
}
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}
.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff8c42;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}
.carousel-indicators button.active {
    background: #ff8c42;
}
.carousel-text {
    text-align: center;
    color: white;
    padding: 40px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(0,0,0,0.25);
    border-radius: 18px;
    box-sizing: border-box;
    max-width: 600px;
    margin-left: 40px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .carousel-text {
        padding: 20px;
        max-width: 95vw;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
    }
}

.carousel-text h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: left;
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.carousel-text p {
    font-size: 1.5rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    text-align: left;
    font-weight: bold;
}
.carousel-text a {
    display: inline-block;
    background: #ff8c42;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    align-self: flex-end;
    margin-bottom: 0;
}
.carousel-text a:hover {
    background: #ff8c42;
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .carousel-container {
        height: 60vh;
    }
    .carousel-text h1 {
        font-size: 2rem;
    }
    .carousel-text p {
        font-size: 1.2rem;
    }
    .carousel-nav button {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
} 

.logo-image-container {
  text-align: center;
  padding: 32px 0;
}
.logo-image-container img {
  max-width: 1500px;
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
} 

.mission-visual-row {
  display: flex;
  justify-content: space-evenly;
  gap: 40px;
  margin: 40px 0 24px 0;
  width: 100%;
}
.mission-visual-row .image-caption-col {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  transition: none !important;
}
.mission-visual-row .image-caption-col:hover {
  box-shadow: 0 8px 32px rgba(255,107,53,0.18), 0 2px 8px rgba(0,0,0,0.10);
}
.mission-visual-row img {
  width: calc((100vw - 320px) / 4) !important;
  height: calc((100vw - 320px) / 4) !important;
  max-width: 300px;
  max-height: 300px;
  min-width: 100px;
  min-height: 100px;
  aspect-ratio: 1/1;
  border-radius: 16px;
  margin-bottom: 25px;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.2);
  transition: all 0.3s ease;
  display: block;
}
@media (max-width: 1400px) {
  .mission-visual-row img {
    width: calc((100vw - 280px) / 4) !important;
    height: calc((100vw - 280px) / 4) !important;
    min-width: 100px;
    min-height: 100px;
    max-width: 300px;
    max-height: 300px;
    aspect-ratio: 1/1;
  }
}
@media (max-width: 600px) {
  .mission-visual-row {
    flex-direction: column;
    gap: 20px;
  }
  
  .mission-visual-row .image-caption-col {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .mission-visual-row img {
    width: calc((100vw - 60px) / 2) !important;
    height: calc((100vw - 60px) / 2) !important;
    min-width: 120px;
    min-height: 120px;
    max-width: 200px;
    max-height: 200px;
    aspect-ratio: 1/1;
  }
}
.mission-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #ffb085 60%, #ff6b35 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(255,107,53,0.10);
}
.caption-text {
  font-size: 1.18rem;
  font-weight: bold;
  color: #ff6b35;
  letter-spacing: 2px;
  text-align: center;
  margin-top: 0;
}
@media (max-width: 900px) and (max-width: 449px) {
  .mission-visual-row {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .mission-visual-row .image-caption-col {
    max-width: 320px;
    width: 100%;
    padding: 24px 8px 16px 8px;
  }
  .mission-visual-row img {
    width: 80px;
    height: 80px;
  }
  .mission-icon {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
} 

.mission-visual-row .image-caption-col img {
  width: calc((100vw - 240px) / 4) !important;
  height: calc((100vw - 240px) / 4) !important;
  max-width: 300px;
  max-height: 300px;
  min-width: 100px;
  min-height: 100px;
  aspect-ratio: 1/1;
  border-radius: 16px;
  margin-bottom: 25px;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.2);
  transition: all 0.3s ease;
  display: block;
}
@media (max-width: 1400px) {
  .mission-visual-row .image-caption-col img {
    width: calc((100vw - 200px) / 4) !important;
    height: calc((100vw - 200px) / 4) !important;
    min-width: 100px;
    min-height: 100px;
    max-width: 300px;
    max-height: 300px;
    aspect-ratio: 1/1;
  }
}
@media (max-width: 600px) {
  .mission-visual-row .image-caption-col img {
    width: 90vw;
    height: 90vw;
    min-width: 100px;
    min-height: 100px;
    max-width: 450px;
    max-height: 450px;
    aspect-ratio: 1/1;
  }
} 

.achievements-section,
.president-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.section.achievements-section {
  margin-bottom: 0 !important;
}
.section.president-section {
  margin-top: 0 !important;
}

/* 針對450px到480px寬度的響應式設計 - 單列顯示 */
@media (max-width: 480px) and (min-width: 450px) {
  .mission-visual-row {
    flex-direction: column !important;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
    width: 100vw;
    max-width: 100vw;
  }
  .mission-visual-row .image-caption-col {
    max-width: 90vw;
    width: 90vw;
    padding: 24px 8px 16px 8px;
  }
  .mission-visual-row .image-caption-col img {
    width: 90vw !important;
    height: 90vw !important;
    min-width: 200px;
    min-height: 200px;
    max-width: 90vw !important;
    max-height: 90vw !important;
    box-sizing: border-box;
  }
}

/* 針對450px以下寬度的響應式設計 - 單列顯示 */
@media (max-width: 449px) {
  .mission-visual-row {
    flex-direction: column !important;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
    width: 100vw;
    max-width: 100vw;
  }
  .mission-visual-row .image-caption-col {
    max-width: 90vw;
    width: 90vw;
    padding: 24px 8px 16px 8px;
  }
  .mission-visual-row .image-caption-col img {
    width: 90vw !important;
    height: 90vw !important;
    min-width: 200px;
    min-height: 200px;
    max-width: 90vw !important;
    max-height: 90vw !important;
    box-sizing: border-box;
  }
}

@media (min-width: 481px) {
  .mission-visual-row {
    flex-direction: row;
    justify-content: space-evenly;
    gap: 0;
    width: 100%;
  }
}

.advantages-section .image-row img {
  flex: 1;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 2px solid #fff;
  transition: all 0.2s;
  display: block;
}

/* 針對481px到1413px寬度的響應式設計 - 維持一行三列 */
@media (max-width: 1413px) and (min-width: 481px) {
  .advantages-section .image-row img {
    flex: 1;
    height: 167px;
    min-height: 167px;
    max-height: 167px;
  }
  .advantages-section .image-row {
    gap: 20px;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex-direction: row !important;
    align-items: center;
  }
  
  /* 企業使命圖片響應式設計 */
  .mission-visual-row {
    gap: 0;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    flex-direction: row !important;
    align-items: center;
    width: 100%;
  }
  .mission-visual-row img {
    width: calc((100vw - 120px) / 3) !important; /* 調整寬度以適應4個相等縫隙 */
    height: calc((100vw - 120px) / 3) !important;
    min-width: 120px;
    min-height: 120px;
    max-width: calc((100vw - 120px) / 3);
    max-height: calc((100vw - 120px) / 3);
    aspect-ratio: 1/1;
  }
}

/* 針對450px以下寬度的響應式設計 - 轉為單列 */
@media (max-width: 449px) {
  .advantages-section .image-row {
    flex-direction: column !important;
    align-items: center;
    gap: 16px;
  }
  .advantages-section .image-row img {
    flex: 1;
    height: 133px;
    min-height: 133px;
    max-height: 133px;
  }
}

.footer-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: #fff;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 999;
  transition: transform 0.3s;
}

.footer-nav button,
.footer-nav a {
  background: #ff8c42;
  border: none;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 25px;
  cursor: pointer;
  color: white;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
}

/* 確保浮動底部導航欄中所有按鈕的字體粗細完全一致 */
.footer-nav #btn-top,
.footer-nav #btn-news,
.footer-nav #btn-login {
  font-weight: bold !important;
}

.footer-nav button:hover,
.footer-nav a:hover {
  background: #ff8c42;
  color: white;
}

.footer-nav a.active {
  background: #ff8c42;
  color: white;
}

.footer-nav.hide {
  transform: translateY(100%);
} 

/* 輪播文字位置樣式 */
.carousel-text-top-left {
    position: absolute;
    top: 40px;
    left: 40px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 1px 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 10;
    background: rgba(255, 107, 53, 0.2);
    padding: 8px 12px;
    border-radius: 5px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-text-top-left h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: left;
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    letter-spacing: 1px;
}

.carousel-text-top-left p {
    font-size: 1.5rem;
    margin-bottom: 0;
    text-align: left;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    font-weight: 600;
}

.carousel-text-bottom-right {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 10;
}

.carousel-text-bottom-right a {
    display: inline-block;
    background: #ff8c42;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-text-bottom-right a:hover {
    background: #ff8c42;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .carousel-text-top-left {
        top: 20px;
        left: 20px;
        padding: 6px 10px;
        background: rgba(255, 107, 53, 0.2);
    }
    
    .carousel-text-top-left h1 {
        font-size: 2rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    .carousel-text-top-left p {
        font-size: 1.2rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    }
    
    .carousel-text-bottom-right {
        bottom: 20px;
        right: 20px;
    }
    
    .carousel-text-bottom-right a {
        padding: 10px 20px;
        font-size: 0.9rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    }
} 

/* 專門針對 1135px-1200px 範圍的導航欄修正 */
@media (min-width: 1135px) and (max-width: 1200px) {
    .nav-container {
        gap: 10px;
        padding: 15px 15px;
    }
    
    .nav-menu {
        gap: 8px;
    }
    
    .nav-menu a {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
    
    .nav-menu .login-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
        margin-left: 8px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo img {
        height: 40px;
    }
} 

/* 專門針對 1134px 寬度的精確修正 */
@media (min-width: 1134px) and (max-width: 1134px) {
    .nav-container {
        gap: 5px;
        padding: 15px 8px;
        max-width: 1134px;
        overflow: hidden;
    }
    
    .nav-menu {
        gap: 4px;
        margin-left: 8px;
        flex-wrap: nowrap;
        overflow: hidden;
    }
    
    .nav-menu a {
        padding: 3px 5px;
        font-size: 0.7rem;
        white-space: nowrap;
    }
    
    .nav-menu .login-btn {
        padding: 3px 6px;
        font-size: 0.7rem;
        margin-left: 4px;
        white-space: nowrap;
    }
    
    .logo {
        font-size: 16px;
        flex-shrink: 0;
        min-width: 120px;
    }
    
    .logo img {
        height: 30px;
    }
} 

/* 世界頂尖科技團隊優勢 - 新設計樣式 */
.advantages-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.advantages-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin: 40px 0 60px 0;
}

.advantages-text-card {
    flex: 1;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: left;
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.1), 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

.advantages-text-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.advantages-text-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(255, 107, 53, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #ff6b35;
}

.advantages-text-card:hover::before {
    transform: scaleX(1);
}

.text-card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.advantages-text-card h3 {
    color: #ff6b35;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
}

.advantages-text-card p {
    color: #555;
    font-size: var(--body-text-size);
    line-height: var(--base-line-height);
    margin: 0 0 20px 0;
}

/* Index 內文字級統一為產品頁段落標準 */
.about-section p,
.president-section p,
.team-section p,
.advantages-section p,
.health-info-section p,
.mission-subtitle p,
.mission-text p,
.advantages-text-card p {
    font-size: var(--body-text-size) !important;
    line-height: var(--base-line-height);
}

.card-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    margin-top: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid #fff;
    transition: all 0.3s ease;
    display: block;
    min-width: 0;
    min-height: 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    align-self: flex-end;
}

.card-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .card-image {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .card-image {
        max-width: 180px;
    }
}

/* 響應式設計 */
@media (max-width: 768px) {
    .advantages-container {
        padding: 0 20px;
    }
    
    .advantages-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px;
        margin: 30px 0 40px 0;
    }
    
    .advantages-text-card {
        padding: 30px 20px;
        min-height: 350px;
        text-align: left;
    }
    
    .text-card-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .advantages-text-card h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .advantages-text-card p {
        font-size: 1rem;
    }
    
    .card-image {
        height: auto;
        margin-top: auto;
        align-self: flex-end;
    }
    
    .advantages-section .image-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .advantages-section .image-row img {
        height: auto;
        min-height: auto;
        max-height: none;
    }
}

@media (max-width: 480px) {
    .advantages-container {
        padding: 0 15px;
    }
    
    .advantages-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 25px;
    }
    
    .advantages-text-card {
        padding: 25px 15px;
        min-height: 300px;
        text-align: left;
    }
    
    .text-card-icon {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .advantages-text-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .advantages-text-card p {
        font-size: 0.95rem;
    }
    
    .card-image {
        height: 120px;
        margin-top: auto;
        align-self: flex-end;
    }
    
    .advantages-section .image-row img {
        height: 120px;
        min-height: 120px;
        max-height: 120px;
    }
}

/* 超小螢幕優化 */
@media (max-width: 360px) {
    .advantages-container {
        padding: 0 10px;
    }
    
    .advantages-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .advantages-text-card {
        padding: 20px 12px;
        min-height: 280px;
    }
    
    .text-card-icon {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .advantages-text-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .advantages-text-card p {
        font-size: 0.9rem;
    }
    
    .card-image {
        height: 100px;
    }
}

/* 覆蓋：手機版將 04~07.jpg（優勢區塊的卡片圖）寬度放大到 95% */
@media (max-width: 768px) {
    .advantages-section .card-image {
        width: 95% !important;
        max-width: none !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .advantages-section .card-image {
        width: 95% !important;
        max-width: none !important;
        height: auto !important;
    }
}

.advantages-section .image-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 40px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 40px;
}

.advantages-section .image-row img {
    flex: 1;
    height: auto;
    min-height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid #fff;
    transition: all 0.2s;
    display: block;
}

.president-content, .president-content.row-flex {
    flex-wrap: wrap !important;
}
.president-quote, .president-quote * {
    white-space: normal !important;
    overflow-x: visible !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

/* 企業使命區塊 - 移除所有特效 */
.about-section .intro-card {
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    transition: none !important;
    transform: none !important;
    padding: 40px 0 !important;
}

.about-section .intro-card::before {
    display: none !important;
}

.about-section .intro-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.about-section .intro-card:hover::before {
    transform: none !important;
}

/* 企業使命增強設計樣式 */
.mission-statement-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
    border: 2px solid #ff6b35;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mission-statement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42, #ffb085);
}

.mission-statement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.mission-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.mission-icon-large i {
    font-size: 2.5rem;
    color: white;
}

.mission-content {
    text-align: center;
}

.mission-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(255, 107, 53, 0.1);
}

.mission-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.mission-principles {
    margin: 60px 0;
    padding: 40px 0;
}

.principles-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

.principles-title::after {
    display: none;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.principle-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.2);
}

.principle-card:hover::before {
    transform: scaleX(1);
}

.principle-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 6px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.principle-card:hover .principle-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.principle-icon i {
    font-size: 2rem;
    color: white;
}

.principle-card h4 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 15px;
}

.principle-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.mission-visual-section {
    margin: 60px 0;
    padding: 40px 0;
}

.visual-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

.visual-title::after {
    display: none;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.image-container:hover {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(255, 107, 53, 0.9));
    color: white;
    padding: 20px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.image-container:hover .image-overlay {
    transform: translateY(0);
}

.overlay-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    backdrop-filter: blur(10px);
}

.overlay-icon i {
    font-size: 1.5rem;
    color: white;
}

.image-overlay h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .mission-statement-card {
        padding: 30px 20px;
        margin: 30px 0;
    }
    
    .mission-title {
        font-size: 1.8rem;
    }
    
    .mission-description {
        font-size: 1rem;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .principle-card {
        padding: 25px 20px;
    }
    
    .principles-title,
    .visual-title {
        font-size: 1.6rem;
    }
    
    .mission-principles {
        margin: 40px 0;
        padding: 30px 0;
    }
    
    .mission-visual-section {
        margin: 40px 0;
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    .mission-statement-card {
        padding: 25px 15px;
    }
    
    .mission-title {
        font-size: 1.5rem;
    }
    
    .mission-icon-large {
        width: 60px;
        height: 60px;
    }
    
    .mission-icon-large i {
        font-size: 2rem;
    }
    
    .principle-icon {
        width: 60px;
        height: 60px;
    }
    
    .principle-icon i {
        font-size: 1.5rem;
    }
    
    .principle-card h4 {
        font-size: 1.3rem;
    }
    
    .overlay-icon {
        width: 40px;
        height: 40px;
    }
    
    .overlay-icon i {
        font-size: 1.2rem;
    }
    
    .image-overlay h4 {
        font-size: 1rem;
    }
}

/* 企業使命區塊新設計樣式 */
.mission-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 20px;
}

.mission-header {
    text-align: center;
    margin-bottom: 15px;
}

.mission-title-main {
    display: block;
    font-size: var(--h1-size);
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 5px;
    position: relative;
}

.mission-title-sub {
    display: block;
    font-size: 1rem;
    color: #666;
    font-weight: 300;
    margin-bottom: 15px;
}

.title-decoration {
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    margin: 0 auto;
    border-radius: 2px;
}

.mission-subtitle {
    margin-top: 15px;
}

.mission-subtitle p {
    font-size: var(--body-text-size);
    color: #555;
    line-height: var(--base-line-height);
    max-width: 500px;
    margin: 0 auto;
}

.mission-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mission-intro-card {
    background: transparent;
    border-radius: 0;
    padding: 15px;
    box-shadow: none;
    border: none;
    transition: all 0.3s ease;
}

.mission-intro-card:hover {
    transform: none;
    box-shadow: none;
}

.mission-text-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.mission-text {
    flex: 1;
    text-align: left !important;
}

.mission-text p {
    font-size: var(--body-text-size) !important;
    line-height: var(--base-line-height) !important;
    color: #333;
    margin-bottom: 15px;
    text-align: left !important;
}



.mission-visual-section {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: none;
}

.visual-section-title {
    font-size: 1.4rem;
    color: #ff6b35;
    margin-bottom: 15px;
    position: relative;
}

.visual-section-title::after {
    display: none;
}

.mission-visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.mission-visual-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
}

.mission-visual-item:hover {
    transform: none;
    box-shadow: none;
}

.visual-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.mission-visual-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.mission-visual-item:hover .mission-visual-image {
    transform: scale(1.1);
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9), rgba(255, 140, 66, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.mission-visual-item:hover .visual-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 15px;
}

.overlay-content h4 {
    font-size: 1.3rem;
    margin-bottom: 6px;
    font-weight: bold;
}

.overlay-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Index 文字統一：避免內文忽大忽小（覆蓋晚於上方定義） */
.overlay-content p,
.quote-chinese,
.quote-english {
    font-size: 1.1rem !important;
    line-height: var(--base-line-height);
}



/* 響應式設計 */
@media (max-width: 768px) {
    .mission-container {
        padding: 8px 15px;
    }
    
    .mission-title-main {
        font-size: var(--h1-size);
    }

    /* 企業使命與研發團隊標題不變更字級（覆蓋通用 .section-title 手機縮小規則） */
    .about-section .section-title { font-size: var(--h1-size) !important; }
    .about-section .mission-title-main { font-size: var(--h1-size) !important; }
    .team-section .section-title { font-size: var(--h1-size) !important; }
    
    .mission-title-sub {
        font-size: 0.9rem;
    }
    
    .mission-text-container {
        flex-direction: column;
        text-align: left !important;
        gap: 15px;
    }
    
    .mission-text p {
        font-size: var(--body-text-size) !important;
        line-height: var(--base-line-height);
        text-align: left !important;
    }
    
    .mission-visual-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .visual-image-container {
        border-radius: 12px;
    }
    

}

@media (max-width: 480px) {
    .mission-intro-card {
        padding: 12px;
    }
    
    .mission-title-main {
        font-size: var(--h1-size);
    }
    

    
    .mission-visual-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .visual-image-container {
        border-radius: 12px;
    }
    

}

/* 手機橫向模式（landscape）產品頁面字體大小統一處理 */
@media (max-width: 768px) and (orientation: landscape) {
	/* 橫向模式：產品內容字級強制統一，避免系統字級自動調整 */
	.product-section .product-info,
	.product-section .product-info * {
		-webkit-text-size-adjust: none !important;
		text-size-adjust: none !important;
	}
	
	/* 橫向模式：所有文字強制使用固定字級 */
	.product-section .product-info,
	.product-section .product-info p,
	.product-section .product-info li,
	.product-section .product-info .ingredient-detail li,
	.product-section .product-info ul li {
		font-size: 16px !important;
		line-height: 1.6 !important;
	}
	
	/* 橫向模式：標題字級統一 */
	.product-section .product-info h2,
	.product-section .product-info h3,
	.product-section .product-info h4,
	.product-section .product-info h5,
	.product-section .product-info h6 {
		font-size: 16px !important;
		line-height: 1.6 !important;
	}
	
	/* 橫向模式：主要成分清單特別處理 */
	.product-section .product-info .ingredient-detail,
	.product-section .product-info .ingredient-detail li {
		font-size: 16px !important;
		line-height: 1.6 !important;
	}
	
	/* 橫向模式：強制所有產品內容文字大小統一，包括複雜的成分說明 */
	.product-section .product-info *,
	.product-section .product-info p *,
	.product-section .product-info li *,
	.product-section .product-info .ingredient-detail *,
	.product-section .product-info .ingredient-detail li *,
	.product-section .product-info ul li * {
		font-size: 16px !important;
		line-height: 1.6 !important;
		-webkit-text-size-adjust: none !important;
		text-size-adjust: none !important;
	}
	
	/* 橫向模式：特別處理包含 strong 標籤的文字 */
	.product-section .product-info strong,
	.product-section .product-info .ingredient-detail strong {
		font-size: 16px !important;
		line-height: 1.6 !important;
		font-weight: bold !important;
	}
	
	/* 橫向模式：確保所有列表項目字體大小一致 */
	.product-section .product-info ul,
	.product-section .product-info ul li,
	.product-section .product-info .ingredient-detail,
	.product-section .product-info .ingredient-detail li {
		font-size: 16px !important;
		line-height: 1.6 !important;
	}
	
	/* 橫向模式：強制處理所有可能的文字元素，包括複雜的成分說明 */
	.product-section .product-info [data-i18n*="product.sb2"],
	.product-section .product-info [data-i18n*="product.sb2"] *,
	.product-section .product-info [data-i18n*="product.no"],
	.product-section .product-info [data-i18n*="product.no"] * {
		font-size: 16px !important;
		line-height: 1.6 !important;
		-webkit-text-size-adjust: none !important;
		text-size-adjust: none !important;
	}
	
	/* 橫向模式：特別處理包含長文本的成分說明 */
	.product-section .product-info .ingredient-detail [data-i18n*="product.sb2.ingredients"],
	.product-section .product-info .ingredient-detail [data-i18n*="product.sb2.ingredients"] *,
	.product-section .product-info .ingredient-detail [data-i18n*="product.no.ingredients"],
	.product-section .product-info .ingredient-detail [data-i18n*="product.no.ingredients"] * {
		font-size: 16px !important;
		line-height: 1.6 !important;
		-webkit-text-size-adjust: none !important;
		text-size-adjust: none !important;
	}
	
	/* 橫向模式：確保所有段落和列表項目的字體大小一致 */
	.product-section .product-info p[data-i18n*="product.sb2"],
	.product-section .product-info p[data-i18n*="product.no"],
	.product-section .product-info li[data-i18n*="product.sb2"],
	.product-section .product-info li[data-i18n*="product.no"] {
		font-size: 16px !important;
		line-height: 1.6 !important;
		-webkit-text-size-adjust: none !important;
		text-size-adjust: none !important;
	}
	
	/* 橫向模式：強制處理主要成分內文，確保字體大小完全統一 */
	.product-section .product-info .ingredient-detail,
	.product-section .product-info .ingredient-detail li,
	.product-section .product-info .ingredient-detail li *,
	.product-section .product-info ul.ingredient-detail,
	.product-section .product-info ul.ingredient-detail li,
	.product-section .product-info ul.ingredient-detail li * {
		font-size: 16px !important;
		line-height: 1.6 !important;
		-webkit-text-size-adjust: none !important;
		text-size-adjust: none !important;
	}
	
	/* 橫向模式：特別處理包含長文本的主要成分描述 */
	.product-section .product-info .ingredient-detail li[data-i18n*="product.sb2.ingredients"],
	.product-section .product-info .ingredient-detail li[data-i18n*="product.no.ingredients"],
	.product-section .product-info .ingredient-detail li[data-i18n*="product.sb2.ingredients"] *,
	.product-section .product-info .ingredient-detail li[data-i18n*="product.no.ingredients"] * {
		font-size: 16px !important;
		line-height: 1.6 !important;
		-webkit-text-size-adjust: none !important;
		text-size-adjust: none !important;
	}
	
	/* 橫向模式：強制處理所有可能的文字容器，確保字體大小一致 */
	.product-section .product-info .text-container,
	.product-section .product-info .text-container *,
	.product-section .product-info .text-container p,
	.product-section .product-info .text-container li,
	.product-section .product-info .text-container ul,
	.product-section .product-info .text-container ul li {
		font-size: 16px !important;
		line-height: 1.6 !important;
		-webkit-text-size-adjust: none !important;
		text-size-adjust: none !important;
	}
	
	/* 橫向模式：最終強制規則，確保所有產品頁面文字都使用統一字體大小 */
	.product-section .product-info *,
	.product-section .product-info * *,
	.product-section .product-info * * * {
		font-size: 16px !important;
		line-height: 1.6 !important;
		-webkit-text-size-adjust: none !important;
		text-size-adjust: none !important;
	}
	
	/* 橫向模式：特別針對主要成分的強制處理 */
	.product-section .product-info .ingredient-detail *,
	.product-section .product-info .ingredient-detail * *,
	.product-section .product-info ul.ingredient-detail *,
	.product-section .product-info ul.ingredient-detail * * {
		font-size: 16px !important;
		line-height: 1.6 !important;
		-webkit-text-size-adjust: none !important;
		text-size-adjust: none !important;
	}
}

/* 強制主要成分內文字體大小，不隨手機設定變化 */
.product-section .product-info .ingredient-detail,
.product-section .product-info .ingredient-detail li,
.product-section .product-info .ingredient-detail li *,
.product-section .product-info ul.ingredient-detail,
.product-section .product-info ul.ingredient-detail li,
.product-section .product-info ul.ingredient-detail li * {
	font-size: 16px !important;
	line-height: 1.6 !important;
	-webkit-text-size-adjust: none !important;
	text-size-adjust: none !important;
	font-size-adjust: none !important;
	-moz-text-size-adjust: none !important;
	-ms-text-size-adjust: none !important;
}

/* 強制處理 product2.html 和 product4.html 的主要成分內文 */
.product-section .product-info .ingredient-detail [data-i18n*="product.sb2.ingredients"],
.product-section .product-info .ingredient-detail [data-i18n*="product.sb2.ingredients"] *,
.product-section .product-info .ingredient-detail [data-i18n*="product.no.ingredients"],
.product-section .product-info .ingredient-detail [data-i18n*="product.no.ingredients"] *,
.product-section .product-info .ingredient-detail li[data-i18n*="product.sb2.ingredients"],
.product-section .product-info .ingredient-detail li[data-i18n*="product.no.ingredients"] {
	font-size: 16px !important;
	line-height: 1.6 !important;
	-webkit-text-size-adjust: none !important;
	text-size-adjust: none !important;
	font-size-adjust: none !important;
	-moz-text-size-adjust: none !important;
	-ms-text-size-adjust: none !important;
}

/* 強制所有產品頁面主要成分內文使用固定字體大小 */
.product-section .product-info .ingredient-detail *,
.product-section .product-info .ingredient-detail * *,
.product-section .product-info ul.ingredient-detail *,
.product-section .product-info ul.ingredient-detail * * {
	font-size: 16px !important;
	line-height: 1.6 !important;
	-webkit-text-size-adjust: none !important;
	text-size-adjust: none !important;
	font-size-adjust: none !important;
	-moz-text-size-adjust: none !important;
	-ms-text-size-adjust: none !important;
}

/* 最高優先級：絕對強制主要成分內文字體大小，覆蓋所有其他設定 */
.product-section .product-info .ingredient-detail,
.product-section .product-info .ingredient-detail li,
.product-section .product-info .ingredient-detail li *,
.product-section .product-info ul.ingredient-detail,
.product-section .product-info ul.ingredient-detail li,
.product-section .product-info ul.ingredient-detail li *,
.product-section .product-info .ingredient-detail [data-i18n*="product.sb2.ingredients"],
.product-section .product-info .ingredient-detail [data-i18n*="product.sb2.ingredients"] *,
.product-section .product-info .ingredient-detail [data-i18n*="product.no.ingredients"],
.product-section .product-info .ingredient-detail [data-i18n*="product.no.ingredients"] * {
	font-size: 16px !important;
	line-height: 1.6 !important;
	-webkit-text-size-adjust: none !important;
	text-size-adjust: none !important;
	font-size-adjust: none !important;
	-moz-text-size-adjust: none !important;
	-ms-text-size-adjust: none !important;
	/* 額外的強制屬性 */
	font-size: 16px !important;
	line-height: 1.6 !important;
}

/* 針對特定產品頁面的絕對強制規則 */
.product-section .product-info [data-i18n*="product.sb2.ingredients"],
.product-section .product-info [data-i18n*="product.sb2.ingredients"] *,
.product-section .product-info [data-i18n*="product.no.ingredients"],
.product-section .product-info [data-i18n*="product.no.ingredients"] * {
	font-size: 16px !important;
	line-height: 1.6 !important;
	-webkit-text-size-adjust: none !important;
	text-size-adjust: none !important;
	font-size-adjust: none !important;
	-moz-text-size-adjust: none !important;
	-ms-text-size-adjust: none !important;
	/* 重複強制確保優先級 */
	font-size: 16px !important;
	line-height: 1.6 !important;
}

/* 統一所有產品頁面的「主要成分」標題字級 */
.product-section .product-info h3[data-i18n$=".ingredients.title"] {
	font-size: var(--h3-size) !important;
	line-height: var(--base-line-height) !important;
}

/* 固定標題字級：不隨手機系統字級變化 */
h1, h2, h3, h4, h5, h6,
.section-title {
	-webkit-text-size-adjust: none !important;
	text-size-adjust: none !important;
}

/* 統一所有產品頁面的「主要成分」與「成分詳細說明」標題字級並固定不隨手機設定改變 */
.product-section .product-info h3[data-i18n$=".ingredients.title"],
.product-section .product-info h3[data-i18n$=".ingredients.detail.title"] {
	font-size: 16px !important;
	line-height: 1.6 !important;
	-webkit-text-size-adjust: none !important;
	text-size-adjust: none !important;
	display: inline-block; /* 降低自動字級演算法介入 */
}

/* 桌機覆蓋：主要成分／成分詳細說明 在桌機使用標準 h3 尺寸 */
@media (min-width: 769px) {
	.product-section .product-info h3[data-i18n$=".ingredients.title"],
	.product-section .product-info h3[data-i18n$=".ingredients.detail.title"] {
		font-size: var(--h3-size) !important;
		line-height: var(--base-line-height) !important;
		display: block;
	}
}