.product-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 20px;
    gap: 20px;
}

/* 左側主圖區域 */
.main-image-section {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fafafa;
    border-radius: 6px;
    padding: 10px;
}

.main-image-section img {
    max-height: 500px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

/* 右側特點列表區域 */
.features-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

/* 單個特點項目 */
.feature-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-img-wrapper {
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #eee;
    background-color: #fafafa;
}

.feature-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 標題與橘色指引線 */
.feature-title {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.feature-title::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 2px;
    background-color: #e66826;
    /* 橘色線條 */
    margin-right: 8px;
}

/* 響應式：手機板轉為單欄 */
@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
    }
}

/* 主展區外框 */
.gallery-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px;
    gap: 20px;
}

/* 上半部：左右雙欄布局 */
.top-section {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

/* 左側大圖區 */
.main-feature {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.main-img-wrapper {
    width: 100%;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #fafafa;
}

.main-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 右側三小圖區 */
.side-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

/* 單個特色項目 (小) */
.side-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 下半部：底部長條圖區 */
.bottom-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.bottom-img-wrapper {
    width: 100%;
    height: 100px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #fafafa;
}

.bottom-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 標題與橘色指引線樣式 */
.feature-title {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: #222;
}

.feature-title::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 3px;
    background-color: #e66826;
    /* 橘色標籤線 */
    margin-right: 8px;
    border-radius: 1px;
}

/* 響應式切換：行動裝置變成單欄 */
@media (max-width: 768px) {
    .top-section {
        flex-direction: column;
    }

    .main-img-wrapper {
        height: 250px;
    }

    .side-img-wrapper {
        height: 120px;
    }
}

/* 主容器 */
.pcb-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px;


    gap: 25px;
}

/* 上半部：主圖區域 */
.main-banner {
    max-height: 250px;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    background-color: #fafafa;
}

.main-banner img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    display: block;
}

/* 下半部：三欄展示區 */
.sub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 單個子項目 */
.feature-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-img-wrapper {
    width: 100%;
    height: 140px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #fafafa;
    border: 1px solid #f0f0f0;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 標題與橘色指引線 */
.feature-title {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: #222;
    white-space: nowrap;
}

.feature-title::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 3px;
    background-color: #e66826;
    /* 橘色標籤線 */
    margin-right: 8px;
    border-radius: 1px;
    flex-shrink: 0;
}

/* 響應式切換：手機板變為單欄 */
@media (max-width: 768px) {
    .sub-grid {
        grid-template-columns: 1fr;
    }

    .card-img-wrapper {
        height: 180px;
    }
}

/* 主容器 */
.substrate-container {
    max-width: 900px;
    width: 100%;
    padding: 24px;
    display: flex;
    flex-direction: row;
    gap: 24px;
}

/* 左側欄位 */
.left-column {
    flex: 1.8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

/* 上方文字說明區 */
.description-box {
    font-size: 1rem;
    padding-right: 10px;
}

/* 左下大圖卡片 */
.large-feature {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.large-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #fafafa;
    border: 1px solid #f0f0f0;
}

.large-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 右側欄位 */
.right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

/* 右側單個基板項目 */
.side-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.side-img-wrapper {
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #fafafa;
    border: 1px solid #f0f0f0;
}

.side-img-wrapper img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    display: block;
}

/* 標題與橘色指引線 */
.feature-title {
    display: flex;
    align-items: center;
    font-size: 13.5px;
    font-weight: bold;
    color: #222222;
    white-space: wrap;
}

.feature-title::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 3px;
    background-color: #e66826;
    /* 橘色指引線 */
    margin-right: 8px;
    border-radius: 1px;
    flex-shrink: 0;
}


/* 響應式：手機板轉為單欄 */
@media (max-width: 768px) {
    .substrate-container {
        flex-direction: column;
    }

    .large-img-wrapper {
        height: 200px;
    }

    .side-img-wrapper {
        height: 130px;
    }
}