/* 產品區塊背景 */
.products-section {
    background: #f6f6f6;
    padding: 80px 0;
    text-align: center;
}

/* 標題 */
.products-section .section-title {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 60px;
    color: #5A5A5A;
    font-family: 'PingFang TC';
}

/* 卡片容器 */
.products-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

/* 卡片 */
.product-card {
    background: #ffffff;
    width: 300px;
    padding: 30px 5px;
    border-radius: 20px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* ICON */
.product-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
}

.product-netsuite-icon {
    width: 180px;
    height: 98px;
    margin-bottom: 20px;
}

/* 標題 */
.product-title {
    font-size: 28px;
    font-weight: 450;
    color: #212121;
    font-family: 'PingFang TC';
    margin-bottom: 20px;
}

/* 內文 */
.product-desc {
    font-size: 14px;
    color: #777;
    font-family: 'PingFang TC';
    line-height: 0.5;
    font-weight: 450;
    margin-bottom: 20px;
}

/* 按鈕 */
.product-button {
    display: inline-block;
    padding: 8px 20px;
    background: #212121;
    color: #fff;
    border-radius: 6px;
    font-family: 'PingFang TC';
    font-size: 14px;
    font-weight: 450;
    text-decoration: none;
    width: 90%;
}

/* Store Badges */
.product-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.store-badge {
    width: 120px;
}


/* 禁止變色 + 禁止底線 */
.product-button,
.product-button:hover,
.product-button:active,
.product-button:focus {
    text-decoration: none !important;
    background: #212121 !important;
    /* 永遠保持原本顏色 */
    color: #fff !important;
    /* 文字永遠維持白色 */
}



/* 每張 slide 改成背景圖+覆蓋 */
.hero-item {
    height: 530px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* 左側內容區塊固定 */
.hero-content {
    position: absolute;
    top: 50%;
    left: 60px;
    transform: translateY(-50%);
    max-width: 420px;
    text-align: left;
    color: #212121;
}

.hero-menushop {
    background: #E5F7EF;
    /* Figma 背景色 */
    height: 530px;
    display: flex;
    /* ⭐ 真正的左右布局 */
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
}

/* 左邊 */
.hero-menushop-content {
    max-width: 420px;
    text-align: left;
}

.hero-menushop-logo {
    width: 150px;
    margin-bottom: 20px;
}

.hero-menushop-title {
    font-size: 42px;
    font-family: 'PingFang TC';
    color: #212121;
    margin-bottom: 10px;
}

.hero-menushop-subtitle {
    font-size: 18px;
    font-family: 'PingFang TC';
    color: #4A4A4A;
    margin: 0;
    line-height: 1.4;
}

/* 按鈕 */
.hero-menushop-button {
    margin-top: 20px;
    display: inline-block;
    padding: 8px 26px;
    background: transparent;
    color: #212121 !important;
    border: 1px solid #212121;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none !important;
    font-family: 'PingFang TC';
}

/* Hover */
.hero-menushop-button:hover {
    background: #212121 !important;
    color: #fff !important;
}

/* 右邊圖片 */
.hero-menushop-image {
    flex-shrink: 0;
}

.hero-menushop-device {
    height: 420px;
    width: auto;
    object-fit: contain;
}


.hero-netsuite {
    background: #003D69;
    /* 深藍 Figma 背景 */
    height: 530px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
}

/* 左側文字內容 */
.hero-netsuite-content {
    max-width: 420px;
    text-align: left;
}

/* Logo */
.hero-netsuite-logo {
    width: 280px;
    margin-bottom: 20px;
}

/* Title */
.hero-netsuite-title {
    font-size: 42px;
    font-family: 'PingFang TC';
    color: #FFFFFF;
    margin-bottom: 12px;
}

/* Subtitle */
.hero-netsuite-subtitle {
    font-size: 16px;
    font-family: 'PingFang TC';
    color: #E0E0E0;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Button */
.hero-netsuite-button {
    margin-top: 20px;
    display: inline-block;
    padding: 8px 26px;
    background: transparent;
    color: #FFFFFF !important;
    border: 1px solid #FFFFFF;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none !important;
    font-family: 'PingFang TC';
}

.hero-netsuite-button:hover,
.hero-netsuite-button:focus,
.hero-netsuite-button:active {
    background: #FFFFFF !important;
    color: #003D69 !important;
    border-color: #FFFFFF !important;
}

/* Hover 不變色、不加底線 */
.hero-menushop-button:hover,
.hero-menushop-button:focus,
.hero-menushop-button:active {
    background: #212121 !important;
    color: #fff !important;
    text-decoration: none !important;
    border-color: #212121 !important;
}

/* FindLife Hero 整塊 */
.hero-findlife {
    position: relative;
    height: 530px;
    overflow: hidden;

    background-image: url("../images/bkg.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* 中央 LOGO / Title / Subtitle */
.hero-findlife-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
}

.hero-findlife-logo {
    max-width: 600px !important;
    width: 400px !important;
    height: auto !important;
    margin: 0 auto 16px auto;
}

.hero-findlife-title {
    font-size: 36px;
    font-family: 'PingFang TC';
    font-weight: 500;
    color: #212121;
    margin-bottom: 8px;
}

.hero-findlife-subtitle {
    font-size: 20px;
    margin-top: 20px;
    font-weight: 400;
    font-family: 'PingFang TC';
    color: #747474;
}

/* 左下圖 */
.hero-findlife-left {
    position: absolute;
    left: 5px;
    bottom: 5px;
}

.hero-findlife-illustration {
    height: 260px;
    max-width: none;
    object-fit: contain;
}

/* 右下兩行文字 */
.hero-findlife-right {
    position: absolute;
    right: 60px;
    bottom: 40px;
    width: max-content;
    text-align: left;
    z-index: 3;
}

.hero-findlife-right p {
    font-family: 'PingFang TC';
    margin: 10px;
    white-space: nowrap;
}


.hero-findlife-highlight {
    font-family: 'PingFang TC';
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    color: #F6AD00;
}

/* RWD */
@media (max-width: 768px) {

    /* --- 統一四張 Carousel 高度 ＋ 置中配置 --- */
    .hero-item,
    .hero-menushop,
    .hero-netsuite,
    .hero-findlife {
        height: 766px !important;
        /* ⭐ 與 Figma 一樣高 */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 20px;
        text-align: center;
        overflow: hidden;
    }

    /* --- 中央文字區塊（LOGO / title / subtitle）置中 --- */
    .hero-findlife-center,
    .hero-menushop-content {
        position: static !important;
        transform: none !important;
        width: 100%;
        text-align: center;
        margin-top: 30px;
    }

    .hero-content,
    .hero-netsuite-content {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: 30px !important;
    }

    /* --- 背景顯示方式（完整呈現、不裁切）--- */
    .hero-findlife {
        position: relative;
        height: 530px;
        /* 你原本的高度可以保持 */
        overflow: hidden;
        background-position: top center !important;
    }

    .hero-menushop {
        background-size: cover;
    }

    .hero-netsuite {
        background-size: cover;
    }

    .hero-netsuite-logo,
    .hero-logo,
    .hero-findlife-logo,
    .hero-menushop-logo {
        width: 240px !important;
        margin: 0 auto 40px auto !important;
        display: block !important;
    }


    /* --- 按鈕置中 --- */
    .hero-menushop-button,
    .hero-netsuite-button {
        display: block !important;
        margin: 0 auto !important;
        margin-top: 20px !important;
        width: 150px !important;
        text-align: center !important;
    }

    .hero-menushop-title,
    .hero-netsuite-title {
        font-size: 32px;
        font-family: 'PingFang TC';
        text-align: center !important;
        margin-bottom: 15px;
    }

    .hero-menushop-subtitle,
    .hero-netsuite-subtitle {
        font-size: 24px;
        font-family: 'PingFang TC';
        text-align: center !important;
        margin-top: 8px;
    }

    /* --- 右下文字（找 / 活）RWD 置中對齊 Figma --- */
    .hero-findlife-right {
        position: static !important;
        width: 100%;
        text-align: center;
        /* 外層置中 */
        margin-top: 20px;
    }

    .hero-findlife-right p {
        display: block;
        /* 每行獨立 */
        width: fit-content;
        /* 由文字撐開寬度 */
        margin: 4px auto;
        /* ⭐ 自己置中 → 第一個字同條線 */
        padding: 0;
        text-align: left;
        /* ⭐ 塊內文字左對齊 */
    }

    .hero-findlife-highlight {
        font-size: 18px;
        font-weight: 500;
        color: #F6AD00;
    }

    .hero-findlife-text-group {
        display: inline-block;
        text-align: left;
    }

    .hero-findlife-text-group p {
        margin: 4px 0;
        white-space: nowrap;
    }


    /* --- 左下插圖改為置中 --- */
    .hero-findlife-left {
        position: static !important;
        text-align: center !important;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .hero-findlife-illustration {
        height: 240px !important;
        width: auto;
        margin: 0 auto;
    }
}




.carousel-control.left,
.carousel-control.right {
    display: none !important;
}

/* 所有未選中指示點 */
.carousel-indicators li {
    width: 8px !important;
    /* ⭐ 小圓點大小 */
    height: 8px !important;
    margin: 0 4px !important;
    /* 小圓點間距 */
    border-radius: 50% !important;

    background-color: rgba(0, 0, 0, 0) !important;
    /* ⭐ 80%透明度的淡黑 */
    border: 1px solid #212121 !important;
    /* ⭐ 外框顯示 */
}

/* 被選中的指示點（active） */
.carousel-indicators .active {
    width: 8px !important;
    height: 8px !important;
    margin: 0 4px !important;

    background-color: #212121 !important;
    /* 黑色填滿 */
    border: 1px solid #212121 !important;
    /* 外框保持 */
    opacity: 1 !important;
}