﻿@charset "UTF-8";
/* ============================================================
   三久太陽能 - TOP-348 系列頁 (s39-top348)
   需搭配 s39-nav-footer.css 一起使用
   ============================================================ */

/* ============================================================
   頁面主標題 (與 about 頁面同風格 - 高度 200px)
   ============================================================ */
.s39-products-hero {
    background: linear-gradient(135deg, #3a8fd4 0%, #6bb0e8 100%);
    color: white;
    padding: 0;
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.s39-products-hero::after {
    
    font-size: 160px;
    opacity: 0.06;
    position: absolute;
    right: -10px;
    bottom: -20px;
    transform: rotate(12deg);
}

.s39-products-hero .s39-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.s39-products-hero .s39-hero-text {
    flex: 1 1 50%;
}

.s39-products-hero .s39-hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.2;
}

.s39-products-hero .s39-breadcrumb {
    color: rgba(255, 255, 255, 0.85);
    font-size: 22px;
}

.s39-products-hero .s39-breadcrumb a {
    color: #ffe484;
    text-decoration: none;
    transition: color 0.2s;
}

.s39-products-hero .s39-breadcrumb a:hover {
    text-decoration: underline;
    color: #ffffff;
}

.s39-products-hero .s39-hero-image {
    flex: 1 1 40%;
    text-align: center;
}

.s39-products-hero .s39-hero-image img {
    max-width: 85%;
    height: auto;
    max-height: 210px;
    display: block;
    background: transparent;
    margin: 0 auto;
}

/* ----- 內容區塊 ----- */
.s39-products-section {
    padding: 50px 0;
    background: #ffffff;
}

.s39-products-section.s39-bg-sky {
    background: #e8f2fc;
}

.s39-products-section .s39-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----- 系列標題 ----- */
.s39-products-section .s39-series-title {
    font-size: 38px;
    font-weight: 700;
    color: #1a5a96;
    margin-bottom: 6px;
}

.s39-products-section .s39-series-title i {
    color: #2b7bc9;
    margin-right: 14px;
    font-size: 36px;
}

.s39-products-section .s39-series-divider {
    width: 60px;
    height: 3px;
    background: #6bb0e8;
    margin: 6px 0 24px 0;
}

.s39-products-section .s39-series-sub {
    color: #4a6a8a;
    font-size: 22px;
    margin-bottom: 20px;
}

/* ============================================================
   產品快速跳轉按鈕
   ============================================================ */
.s39-product-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
    background: #e8f2fc;
    border-radius: 16px;
    padding: 20px 28px;
    margin: 0 auto 12px auto;
    max-width: 1200px;
    border: 1px solid #d4e8fa;
}

.s39-product-jump .s39-jump-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.s39-product-jump .s39-jump-label {
    font-size: 22px;
    font-weight: 700;
    color: #1a5a96;
    white-space: nowrap;
}

.s39-product-jump .s39-jump-label i {
    color: #2b7bc9;
    margin-right: 8px;
}

.s39-product-jump .s39-jump-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.s39-product-jump .s39-jump-btn {
    display: inline-block;
    background: #ffffff;
    color: #1a5a96;
    font-size: 20px;
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 30px;
    border: 2px solid #2b7bc9;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.s39-product-jump .s39-jump-btn:hover {
    background: #2b7bc9;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 123, 201, 0.25);
}

/* ----- 產品卡片網格 (兩列) ----- */
.s39-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.s39-product-grid:last-child {
    margin-bottom: 0;
}

/* ----- 產品卡片 ----- */
.s39-product-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #dce8f5;
    box-shadow: 0 2px 12px rgba(43, 123, 201, 0.04);
    transition: transform 0.25s, box-shadow 0.25s;
    scroll-margin-top: 100px;
}

.s39-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(43, 123, 201, 0.12);
}

/* ----- 產品圖片 ----- */
.s39-product-card .s39-product-image {
    overflow: hidden;
    background: #f5faff;
    position: relative;
}

.s39-product-card .s39-product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s;
}

.s39-product-card:hover .s39-product-image img {
    transform: scale(1.02);
}

/* ----- 產品標籤 ----- */
.s39-product-card .s39-product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #2b7bc9;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 30px;
    letter-spacing: 0.5px;
}

.s39-product-card .s39-product-tag.s39-tag-bath {
    background: #1a5a96;
}

/* ----- 產品資訊 ----- */
.s39-product-card .s39-product-info {
    padding: 24px 26px 26px;
}

.s39-product-card .s39-product-info .s39-product-name {
    font-size: 30px;
    font-weight: 700;
    color: #1a5a96;
    margin-bottom: 4px;
}

.s39-product-card .s39-product-info .s39-product-brief {
    font-size: 22px;
    color: #4a6a8a;
    margin-bottom: 8px;
    line-height: 1.5;
}

.s39-product-card .s39-product-info .s39-product-spec {
    font-size: 19px;
    color: #6a8aaa;
    line-height: 1.6;
    margin-bottom: 4px;
}

.s39-product-card .s39-product-info .s39-product-spec strong {
    color: #1a5a96;
    font-weight: 600;
}

/* ----- 商品規格表格 ----- */
.s39-product-spec-table {
    margin: 16px 0 0 0;
    overflow-x: auto;
}

.s39-product-spec-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 19px;
}

.s39-product-spec-table table td {
    padding: 10px 14px;
    border-bottom: 1px solid #eef4fa;
    color: #1e2a4a;
    line-height: 1.6;
}

.s39-product-spec-table table td:first-child {
    font-weight: 600;
    color: #1a5a96;
    width: 28%;
    white-space: nowrap;
}

.s39-product-spec-table table tr:last-child td {
    border-bottom: none;
}

/* ----- 尺寸圖 ----- */
.s39-product-card .s39-dimension {
    padding: 0 26px 16px;
}

.s39-product-card .s39-dimension img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid #eef4fa;
}

/* ----- 備註說明 ----- */
.s39-product-card .s39-product-remark {
    padding: 0 26px 22px;
    font-size: 20px;
    color: #2a3a4a;
    line-height: 1.8;
    border-top: 1px solid #eef4fa;
    padding-top: 14px;
}

.s39-product-card .s39-product-remark p {
    margin-bottom: 3px;
}

.s39-product-card .s39-product-remark p:last-child {
    margin-bottom: 0;
}

/* ----- 建議售價 ----- */
.s39-product-card .s39-product-price {
    padding: 14px 26px 0;
    font-size: 22px;
    font-weight: 700;
    color: #1a5a96;
    text-align: right;
    border-top: 1px solid #eef4fa;
}

.s39-product-card .s39-product-price span {
    font-weight: 400;
    color: #4a6a8a;
    font-size: 19px;
}

/* ----- 相關商品 ----- */
.s39-related-products {
    margin-top: 20px;
    padding: 18px 26px 22px;
    border-top: 1px solid #eef4fa;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.s39-related-products .s39-related-label {
    font-size: 19px;
    font-weight: 600;
    color: #4a6a8a;
}

.s39-related-products a {
    color: #2b7bc9;
    text-decoration: none;
    font-size: 19px;
    font-weight: 500;
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid #dce8f5;
    transition: background 0.2s, color 0.2s;
}

.s39-related-products a:hover {
    background: #2b7bc9;
    color: #ffffff;
    border-color: #2b7bc9;
}

/* ============================================================
   響應式設計 (RWD) - 通用
   ============================================================ */

/* ----- 平板 (max-width: 992px) ----- */
@media (max-width: 992px) {
    .s39-products-hero {
        height: 180px;
    }

    .s39-products-hero .s39-hero-text h1 {
        font-size: 36px;
    }

    .s39-products-hero .s39-breadcrumb {
        font-size: 18px;
    }

    .s39-products-hero .s39-hero-image {
        flex: 1 1 100%;
        text-align: center;
    }

    .s39-products-hero .s39-hero-image img {
        max-width: 55%;
        max-height: 120px;
        transform: none;
    }

    .s39-products-hero .s39-hero-text {
        transform: translateY(-30px);
    }

    .s39-products-section .s39-series-title {
        font-size: 34px;
    }
    .s39-products-section .s39-series-title i {
        font-size: 32px;
    }
    .s39-products-section .s39-series-sub {
        font-size: 20px;
    }

    .s39-product-grid {
        gap: 24px;
    }

    .s39-product-card .s39-product-info .s39-product-name {
        font-size: 27px;
    }
    .s39-product-card .s39-product-info .s39-product-brief {
        font-size: 20px;
    }

    .s39-product-spec-table table {
        font-size: 17px;
    }

    .s39-product-card .s39-product-remark {
        font-size: 18px;
    }

    .s39-product-jump {
        gap: 16px 30px;
        padding: 18px 24px;
    }
}

/* ----- 手機 (max-width: 768px) ----- */
@media (max-width: 768px) {
    .s39-products-hero {
        height: 170px;
    }

    .s39-products-hero .s39-hero-text h1 {
        font-size: 30px;
    }

    .s39-products-hero .s39-breadcrumb {
        font-size: 16px;
    }

    .s39-products-hero .s39-hero-image img {
        max-width: 65%;
        max-height: 150px;
        transform: translate(60px, -30px);
    }

    .s39-products-hero .s39-hero-text {
        transform: translateY(30px);
    }

    .s39-products-section .s39-series-title {
        font-size: 28px;
    }
    .s39-products-section .s39-series-title i {
        font-size: 26px;
    }
    .s39-products-section .s39-series-sub {
        font-size: 18px;
    }

    .s39-product-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 36px;
    }

    .s39-product-card .s39-product-info {
        padding: 20px 20px 22px;
    }

    .s39-product-card .s39-product-info .s39-product-name {
        font-size: 25px;
    }
    .s39-product-card .s39-product-info .s39-product-brief {
        font-size: 18px;
    }
    .s39-product-card .s39-product-info .s39-product-spec {
        font-size: 17px;
    }

    .s39-product-card .s39-product-tag {
        font-size: 14px;
        padding: 3px 14px;
        top: 12px;
        left: 12px;
    }

    .s39-product-spec-table table {
        font-size: 16px;
    }
    .s39-product-spec-table table td {
        padding: 6px 10px;
    }
    .s39-product-spec-table table td:first-child {
        width: 34%;
        white-space: normal;
    }

    .s39-product-card .s39-dimension {
        padding: 0 20px 14px;
    }

    .s39-product-card .s39-product-remark {
        padding: 0 20px 18px;
        font-size: 17px;
    }

    .s39-product-card .s39-product-price {
        padding: 12px 20px 0;
        font-size: 19px;
    }
    .s39-product-card .s39-product-price span {
        font-size: 17px;
    }

    .s39-related-products {
        padding: 14px 20px 18px;
        gap: 12px;
    }
    .s39-related-products a {
        font-size: 17px;
        padding: 4px 14px;
    }
    .s39-related-products .s39-related-label {
        font-size: 17px;
    }

    .s39-product-jump {
        padding: 16px 18px;
        gap: 14px;
        flex-direction: column;
        margin: 0 0 16px 0;
        border-radius: 12px;
    }

    .s39-product-jump .s39-jump-group {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .s39-product-jump .s39-jump-label {
        font-size: 19px;
    }

    .s39-product-jump .s39-jump-btn {
        font-size: 17px;
        padding: 7px 18px;
    }
}

/* ----- 小手機 (max-width: 480px) ----- */
@media (max-width: 480px) {
    .s39-products-hero {
        height: 140px;
    }

    .s39-products-hero .s39-hero-text h1 {
        font-size: 24px;
    }

    .s39-products-hero .s39-breadcrumb {
        font-size: 14px;
    }

    .s39-products-hero .s39-hero-image img {
        max-width: 58%;
        max-height: 110px;
        transform: translate(60px, -30px);
    }

    .s39-products-hero .s39-hero-text {
        transform: translateY(30px);
    }

    .s39-products-section .s39-series-title {
        font-size: 24px;
    }
    .s39-products-section .s39-series-title i {
        font-size: 22px;
    }
    .s39-products-section .s39-series-sub {
        font-size: 16px;
    }

    .s39-product-grid {
        gap: 20px;
    }

    .s39-product-card .s39-product-info {
        padding: 16px 16px 18px;
    }

    .s39-product-card .s39-product-info .s39-product-name {
        font-size: 22px;
    }
    .s39-product-card .s39-product-info .s39-product-brief {
        font-size: 17px;
    }
    .s39-product-card .s39-product-info .s39-product-spec {
        font-size: 16px;
    }

    .s39-product-card .s39-product-tag {
        font-size: 13px;
        padding: 2px 12px;
        top: 10px;
        left: 10px;
    }

    .s39-product-spec-table table {
        font-size: 14px;
    }
    .s39-product-spec-table table td {
        padding: 5px 8px;
    }
    .s39-product-spec-table table td:first-child {
        width: 38%;
    }

    .s39-product-card .s39-dimension {
        padding: 0 16px 12px;
    }

    .s39-product-card .s39-product-remark {
        padding: 0 16px 16px;
        font-size: 16px;
    }

    .s39-product-card .s39-product-price {
        padding: 10px 16px 0;
        font-size: 17px;
    }
    .s39-product-card .s39-product-price span {
        font-size: 15px;
    }

    .s39-related-products {
        padding: 12px 16px 16px;
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }
    .s39-related-products a {
        font-size: 16px;
        padding: 4px 14px;
    }
    .s39-related-products .s39-related-label {
        font-size: 16px;
    }

    .s39-product-jump {
        padding: 14px 14px;
        border-radius: 10px;
    }

    .s39-product-jump .s39-jump-label {
        font-size: 17px;
    }

    .s39-product-jump .s39-jump-btn {
        font-size: 15px;
        padding: 6px 16px;
    }

    .s39-product-jump .s39-jump-buttons {
        gap: 6px;
    }
}