/* 重置與基礎樣式 */
* {
    /*margin: 0;*/
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #eeeeee;
    font-family: Tahoma, Arial, "Microsoft JhengHei", sans-serif;
    font-size: 12pt;
    line-height: 1.5;
}

/* 容器 - 固定寬度 */
.container {
    width: 1150px;
    margin: 0 auto;
    background-color: white;
}

/* 頁首 */
header {
    text-align: center;
}

/* Logo 圖片 - 精確尺寸 */
.logo {
    width: 1138px;
    height: 100px; /* 如果知道確切高度 */
    margin: 0 auto;
    text-align: center;
    overflow: hidden; /* 防止圖片溢出 */
}

.logo img {
    width: 1138px;
    height: 100px; /* 固定高度 */
    display: block;
    margin: 0 auto;
    object-fit: contain; /* 保持圖片比例 */
}

/* 導航選單 - 固定寬度表格佈局 */
.main-navigation, .footer-navigation {
    width: 1144px;
    background-color: #000000;
    margin: 0 auto;
}

.main-navigation ul, .footer-navigation ul {
    list-style: none;
    display: table;
    width: 100%;
    table-layout: fixed;
    margin: 0;
    padding: 0;
}

.main-navigation li, .footer-navigation li {
    display: table-cell;
    width: 127px; /* 1144px ÷ 9 = 127px */
    text-align: center;
    vertical-align: middle;
}

.main-navigation a, .footer-navigation a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    padding: 8px 5px;
    font-size: 12pt;
    transition: color 0.3s ease;
}

.main-navigation a:hover, .footer-navigation a:hover {
    color: #ff0000;
}

.footer-navigation {
    background-color: #666666;
    margin-top: 20px;
}

/* 產品畫廊 - 固定寬度 */
.product-gallery {
    width: 1144px;
    margin: 0 auto;
    padding: 20px 0;
}

.product-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    width: 100%;
}

.product-item {
    width: 360px; /* 固定產品區塊寬度 */
    text-align: center;
}

/* 圖片樣式 - 保持原有設定 */
.imgTop_1 {
    width: 360px; /* 固定圖片寬度 */
    height: 481px; /* 固定圖片高度 */
    margin-left: 0px;
    display: block;
}

/* 產品資訊 - 保持原有樣式 */
.div_wort_1 {
    width: 280px;
    height: 40px;
    line-height: 20px;
    margin: 5px auto; /* 置中 */
    text-align: center;
    color: rgb(125, 125, 125);
    font-family: Tahoma, Arial, 宋体, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    letter-spacing: normal;
    orphans: auto;
    text-indent: 0px;
    text-transform: none;
    white-space: normal;
    widows: 1;
    word-spacing: 0px;
    -webkit-text-stroke-width: 0px;
    display: block;
    background-color: rgb(255, 255, 255);
}

.div_wort_2 {
    width: 280px;
    height: 30px;
    color: rgb(255, 0, 0);
    font-size: 14px;
    text-align: center;
    font-family: Tahoma, Arial, 宋体, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    letter-spacing: normal;
    orphans: auto;
    text-indent: 0px;
    text-transform: none;
    white-space: normal;
    widows: 1;
    word-spacing: 0px;
    -webkit-text-stroke-width: 0px;
    display: block;
    background-color: rgb(255, 255, 255);
    margin: 0 auto; /* 置中 */
}

.p_wort_1 {
    height: 10px;
}

/* 分隔圖片 - 精確尺寸 */
.section-divider {
    width: 1130px;
    height: 204px; /* 如果知道確切高度 */
    margin: 20px auto;
    text-align: center;
    overflow: hidden;
}

.section-divider img {
    width: 1130px;
    height: 204px; /* 固定高度 */
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* 頁尾版權 */
.copyright {
    text-align: center;
    padding: 15px 0;
    margin: 0 auto;
    background-color: #666666;
}

.p1 {
    color: #ffffff;
    margin: 0;
}

.p2 {
    color: red;
    font-size: larger;
}

.p3 {
    color: sienna;
    font-size: larger;
}

/* 連結樣式 - 保持原有設定 */
a:visited {
    color: #ffffff;
    text-decoration: none;
}

a:active {
    color: #ffffff;
    text-decoration: none;
}

a:link {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    color: #ff0000;
    text-decoration: none;
}