/* Section 背景 */
.concept-top-section {
    background-color: #FFF9F8; /* 根據截圖調整的粉肉色背景 */
    padding: 60px 0;
    overflow: hidden;
    position: relative;
}

/* 頂部小標誌與漸變線 */
.gradient-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #E80C7B, #B4E800);
    display: inline-block;
    margin-right: 15px;
}

.tag-text {
    color: #E80C7B;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 2px;
}

/* 主標題 */
.concept-main-title {
    font-size: 48px;
    color: #E25E86; /* 賦予妳... 這部分的顏色較淺 */
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 6px;
}

.text-pink {
    color: #E25E86; /* 棕紅色/深粉色 */
    font-weight: bold;
}

/* 描述方塊 (左邊框樣式) */
.concept-description-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px 30px;
    border-left: 5px solid #E25E86; /* 左側粉色粗邊框 */
    box-shadow: 0 4px 15px rgba(232, 12, 123, 0.05);
    max-width: 550px;
}

.concept-description-card p {
    font-size: 16px;
    color: #666666;
    line-height: 1.8;
    margin: 0;
    font-weight: 400;
    letter-spacing: 1px;
}

/* 綠色高亮底色 */
.highlight-box {
    background-color: #B1FF55;
    padding: 2px 5px;
    font-weight: bold;
}

/* 右側圖片 */
.concept-hero-img {
    max-width: 100%;
    height: auto;
}

/* --- 手機版適配 --- */
@media (max-width: 767.98px) {
    .concept-top-section {
        padding: 40px 0;
        text-align: left;
    }

    .concept-main-title {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .concept-description-card {
        padding: 20px;
    }

    .concept-image-wrapper {
        margin-top: 50px;
    }

    .concept-description-card p {
        font-size: 13px;
    }
}

.concept-hearts-section {
    padding: 60px 0;
    background-color: #fff;
    overflow: hidden;
}

.hearts-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hearts-row {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* 核心心形樣式 */
.heart-item {
    width: 293px;
    height: 218px;
    background-image: url('../images/heart-bg-1@2x.png'); /* 你的 PNG 路徑 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    margin: 20px; /* 讓心形左右微量重疊 */
    transition: transform 0.3s ease;
}

/* 下面那一排大一點，且向上位移 */
.row-bottom {
    margin-top: -60px; /* 向上堆疊的效果 */
}

.heart-item.item-large {
    width: 425px;
    height: 313px;
    margin: 0;
}

.heart-content {
    font-size: 16px;
    line-height: 28px;
    color: #0E1618;
    font-weight: 400;
    padding:0 15px;
    letter-spacing: 1px;
}

/* Hover 效果：讓心形輕微跳動 */
.heart-item:hover {
    transform: scale(1.05);
}


/* --- 手機版適配 (階梯層級 + 三段尺寸優化) --- */
@media (max-width: 991px) {
    .concept-hearts-section {
        padding: 85px 0;
    }

    .hearts-row {
        display: block !important;
        text-align: center;
        margin-top: 0 !important;
    }

    .heart-item {
        margin: -45px auto !important; /* 增加重疊度，讓階梯感更強 */
        background-size: contain;
        position: relative;
        transition: transform 0.3s ease;
    }

    /* --- 1. 尺寸設定 --- */
    
    /* 第 1 顆：細少少 (Small) */
    .row-top .heart-item:nth-child(1) {
        width: 213px;
        height: 157px;
        z-index: 5;
    }

    /* 第 2 & 3 顆：中等 (Medium) */
    .row-top .heart-item:nth-child(2),
    .row-top .heart-item:nth-child(3) {
        width: 262px;
        height: 193px;
    }
    .row-top .heart-item:nth-child(2) { z-index: 4; }
    .row-top .heart-item:nth-child(3) { z-index: 3; }

    /* 第 4 & 5 顆：較大 (Large) */
    .row-bottom .heart-item:nth-child(1),
    .row-bottom .heart-item:nth-child(2) {
        width: 352px;
        height: 259px;
    }
    .row-bottom .heart-item:nth-child(1) { 
        z-index: 2;
        margin-top:-20px !important;
    }
    .row-bottom .heart-item:nth-child(2) { z-index: 1; }

    /* --- 2. 左右交錯位移 --- */
    .row-top .heart-item:nth-child(1),
    .row-top .heart-item:nth-child(3),
    .row-bottom .heart-item:nth-child(2) {
        transform: translateX(-20px);
    }
    
    .row-top .heart-item:nth-child(2),
    .row-bottom .heart-item:nth-child(1) {
        transform: translateX(50px);
    }

    /* --- 3. 文字與互動 --- */
    .heart-content {
        font-size: 14px;
        line-height: 24px;
        padding: 0 20px;
    }

    /* 第 1 顆心因為較細，文字要再縮小一點點防止出界 */
    .row-top .heart-item:nth-child(1) .heart-content {
        font-size: 13px;
        padding: 0 25px;
    }

    .heart-item:hover {
        z-index: 10 !important;
    }

    /* Hover 位移補償 */
    .row-top .heart-item:nth-child(1):hover,
    .row-top .heart-item:nth-child(3):hover,
    .row-bottom .heart-item:nth-child(2):hover {
        transform: translateX(-20px) scale(1.05) !important;
    }
    .row-top .heart-item:nth-child(2):hover,
    .row-bottom .heart-item:nth-child(1):hover {
        transform: translateX(20px) scale(1.05) !important;
    }
}

.equol-intro-section {
    background-image: url('../images/soybean-bg@2x.jpg'); /* 你的大豆背景圖 */
    background-size: cover;
    background-position: top center;
    background-attachment: scroll; /* 手機版通常不建議 fixed */
    min-height: 453px;
    position: relative;
    color: #fff;
    padding-top:40px;
    padding-bottom: 40px;
}

/* 文字方塊容器 */
.equol-quote-box {
    padding: 20px;
}

.font-bold {
    font-weight: bold;
}

.equol-title {
    font-size: 80px;
    font-family: 'Helvetica Neue', serif;
    font-style: italic;
    font-weight: 300;
    margin: 0;
    line-height: 1;
    display: inline-block;
    letter-spacing: 5px;
}

.equol-subtitle {
    display: inline-block;
    vertical-align: bottom;
    font-size: 28px;
    margin-left: 20px;
    line-height: 1.4;
    letter-spacing: 2px;
    font-weight: 300;
}

.card-inner-desc {
    font-size: 16px;
    line-height: 32px;
}

/* 引號框架區 */
.quote-content-wrapper {
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.6); /* 白色半透明邊框 */
    padding: 20px 40px;
    margin-top: 30px;
}

/* 引號圖示（使用大字體模擬） */
.quote-icon-start, .quote-icon-end {
    font-size: 100px;
    position: absolute;
    background-color: transparent; /* 或者根據圖片需要，給點背景色遮擋邊框 */
    line-height: 1;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
  
}

.quote-icon-start {
    top: 0;
    left: -30px;
}

.quote-icon-end {
    bottom: -60px;
    right: -30px;
}

.quote-text p {
    font-size: 16px;
    line-height: 32px;
    margin-bottom: 20px;
    font-weight: 300;
    text-align: justify;
}

@media (max-width: 991.98px) {
    .equol-intro-section {
        /* 1. 背景圖只管頂部 */
        background-image: url('../images/soybean-bg-mobile@2x.jpg');
        background-size: 100% 210px; /* 背景圖高度固定 210px */
        background-repeat: no-repeat;
        background-position: top center;
        background-color: #fff; /* 下方自動填白 */
        
        /* 2. 重要：移除 height: 210px，改用 min-height 或乾脆不設 */
        height: auto !important; 
        min-height: 400px;
        
        padding-top: 40px; /* 標題上方的間距 */
        padding-bottom: 10px; /* 底部留白，推開 Footer */
    }

    .equol-quote-box {
        padding: 0 13px;
        /* 移除負邊距，讓它自然排列 */
        margin-top: 0; 
    }

    .equol-title {
        font-size: 54px;
        display: block;
        color: #fff; /* 確保在背景圖上是白色 */
    }

    .equol-subtitle {
        font-size: 18px;
        margin-left: 0;
        margin-top: 10px;
        display: block;
        color: #fff;
    }

    /* 3. 文字內容區：用 Margin-top 避開背景圖區域 */
    .quote-content-wrapper {
        border: none !important;
        padding: 0 !important;
        margin-top: 100px; /* 這 80px 加上標題的高度，剛好會把文字推到 210px 背景以外的白色區域 */
        color: #0E1618;
        position: relative;
        display: block;
    }

    /* 隱藏桌面版組件 */
    .quote-icon-start, 
    .quote-icon-end {
        display: none !important;
    }

    .quote-text p {
        font-size: 16px;
        line-height: 1.8;
        color: #0E1618;
        margin-bottom: 25px;
    }
}


.product-specs-section {
    background-color: #fff;
    padding: 80px 0;
    letter-spacing: 1px;
}

/* 佈局容器 */
.specs-layout-wrapper {
    position: relative;
}

/* 灰色粗線 */
.vertical-divider {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background-color: #EBEBEB;
    border-radius: 4px;
}

/* 所有內容向右移動 40px */
.specs-content-indent {
    padding-left: 45px;
}

.specs-table-card {
    background-color: #F7F7F7 !important;
    border-top: 5px solid #DE5D84;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 0;
    height: 100%; /* 電腦版強制填滿 */
}

/* 統一卡片基礎樣式 */
.specs-info-card, 
.specs-text-card, 
.specs-notice-card {
    background-color: #fff !important;
    border-top: 5px solid #DE5D84;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 25px 30px;
}

/* 修正對齊關鍵 */
.flex-grow-1 {
    flex-grow: 1 !important;
}

.specs-data-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-data-table td {
    padding: 14px; /* 調整呢個數值嚟對齊右邊 */
    border-bottom: 1px solid #f2f2f2;
    color: #0E1618;
    font-size: 16px;
    width:50%;
}

.specs-data-table td.second {
    background-color: #ffffff;
}

.section-main-title {
    color: #DE5D84;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
}

.section-sub-info {
    font-size: 14px;
    color: #333;
    margin-bottom: 25px;
}

.notice-bullet-list {
    list-style: none;
    padding-left: 0;
}

.notice-bullet-list li {
    position: relative;
    padding-left: 25px;
    font-size: 16px;
    line-height: 32px;
}

.notice-bullet-list li::before {
    content: "●";
    color: #DE5D84;
    position: absolute;
    left: 0;
}

/* 頂部資訊卡片基礎樣式 */
.specs-info-card {
    border: 1px solid #eee;
    border-top: 4px solid #E80C7B;
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;             /* 確保是 Flex 佈局 */
    align-items: center;       /* 垂直居中 */
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

/* 圖片容器：設定固定寬度，確保文字喺右邊 */
.info-icon {
    flex: 0 0 70px;            /* 唔好畀佢伸展，固定 70px 寬度 */
    margin-right: 20px;        /* 圖片同文字之間嘅距離 */
    text-align: center;
}

.info-icon img {
    max-width: 100%;           /* 圖片跟隨容器寬度 */
    height: auto;
}

/* 文字部分 */
.info-body {
    flex: 1;                   /* 佔據剩餘空間 */
}

.info-body .title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #0E1618;
}

.info-body .detail {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

h4.card-inner-title {
    font-size: 18px;
    font-weight: 400;
}

.line-top {
    border-top: 1px #d5d5d5 solid;
    padding-top: 20px;
}

.footer-fine-print {
    font-size: 14px;
    color:#9A9A9A;
}

/* 手機版適配 */
@media (max-width: 991px) {
    .product-specs-section {
        padding:0;
    }
    .specs-content-indent {
        padding-left: 0;
    }
    .vertical-divider {
        width: 4px;
        display: none;
    }
    .specs-info-card, .specs-table-card, .specs-text-card, .specs-notice-card {
        height: auto;
    }
    .specs-notice-card {
    margin-bottom: 40px;
    }
}