/* 重置樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft JhengHei', 'PingFang TC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: rgba(122, 150, 30, 1);
}

/* 全域關閉行動裝置點選高亮（藍色塊） */
html,
body {
    -webkit-tap-highlight-color: transparent;
}

/* 取消按鈕預設外觀，避免某些瀏覽器仍加上按下高亮 */
button,
[type="button"],
[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
    background-clip: padding-box;
    outline: none;
}

/* CTA 與 Header 可點元素一併保險處理 */
.submit-btn,
.fixed-bar-logo,
.fixed-bar-btn-top,
.fixed-bar-btn-top * {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    user-select: none;
}

/* 觸控不顯示外框；僅鍵盤導覽時顯示（可保留可及性） */
.submit-btn:focus,
.fixed-bar-logo:focus,
.fixed-bar-btn-top:focus {
    outline: none;
}

.submit-btn:focus-visible,
.fixed-bar-logo:focus-visible,
.fixed-bar-btn-top:focus-visible {
    outline: 0;
    /* 若不需要鍵盤外框就設 0；要的話改為自訂顏色 */
}

/* 背景層不攔截點選 */
.submit-btn-bg {
    pointer-events: none;
}

.cursor-pointer {
    cursor: pointer;
}

.go-merchant-btn-group {
    position: absolute;
    display: flex;
    right: 0px;
    top: 16px;
}

/* 導航按鈕 */
.go-merchant-btn {
    position: relative;
    z-index: 100;
    margin-right: 16px;
    padding: 8px 24px;
    background-color: rgb(50 120 146 / 51%);
    border-radius: 10px;
}

/* 導航連結樣式 */
.go-merchant-btn a {
    font-size: 16px;
    text-decoration: none;
    color: rgb(255, 255, 255) !important;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

/* 頂部品牌介紹區 */
.hero-section {
    padding-top: 80px;
    padding-bottom: 0;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
}

.logo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1256px;
    object-fit: cover;
    z-index: -1;
}

.logo-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    width: 240px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo {
        width: 148px;
        height: auto;
        object-fit: contain;
    }
}

.company-intro {
    flex: 1;
    animation-delay: .1s;
}

.company-intro-m {
    display: none;
}

.consumer-experience .section-header {
    animation-delay: .2s;
}

.intro-text {
    font-size: 24px;
    line-height: 1.8;
    margin-bottom: 24px;
    font-weight: 500;
    text-align: center;
    color: #0E0F11;
    line-height: 1.8;
}

.partnership-text {
    font-size: 24px;
    line-height: 40px;
    font-weight: 500;
    text-align: center;
    color: #0E0F11;
    margin-bottom: 40px;
}

.intro-text-m {
    display: none;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 16px;
    font-weight: 500;
    text-align: center;
    color: #0E0F11;
}

.partnership-text-m {
    display: none;
    font-size: 18px;
    line-height: 1.5;
    opacity: 0.9;
    font-weight: 500;
    text-align: center;
    color: #0E0F11;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-header>.section-title {
    margin-top: 60px;
}

.app-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
}

.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 12px;
}

.app-label {
    width: 150px;
    object-fit: contain;
    position: relative;
    top: 4px;
}

.app-footer-label {
    width: 96px;
    height: auto;
}

@media (max-width: 768px) {
    .app-icon {
        width: 70px;
        height: 70px;
        border-radius: 12px;
    }

    .app-label {
        width: 120px;
        height: auto;
    }

    .app-footer-label {
        width: 90px;
        height: auto;
    }
}

.app-name {
    font-size: 48px;
    font-weight: 400;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    color: #304000;
    gap: 0;
    display: inline-flex;
    justify-content: center;
    margin-bottom: 60px;
    width: 100%;
}

.highlight {
    color: #7B961E;
    margin-left: 12px;
}

.highlight-dark {
    color: #304000;
}

/* Chrome, Safari, Opera */
.phone-showcase::-webkit-scrollbar {
    display: none;
}

.phone-showcase {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2px;
    max-width: 1400px;
    margin: auto;
    margin-bottom: 128px;
    overflow: scroll;
}

.feature-item {
    flex: 1;
    text-align: center;
}

.feature-title {
    font-size: 26px;
    font-weight: 600;
    color: #304000;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .feature-title {
        font-size: 24px;
    }
}

.phone-mockup {
    position: relative;
    display: inline-block;
}

.phone-image {
    width: 200px;
    height: auto;
}

/* 商家痛點解決方案區 */
.merchant-solutions {
    padding: 128px 0;
    background: #FFFFE8;
    position: relative;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
}

.solution-header {
    background: #304000;
    display: flex;
    padding: 53px 51px;
    grid-row: span 2;
}

.grid-title {
    font-size: 36px;
    font-weight: 600;
    color: white;
    text-align: left;
    line-height: 1.4;
    margin: 0;
}

.solution-item {
    background: white;
    padding: 48px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.solution-item:nth-child(even) {
    background: #F7F9C9;
}

.solution-item:nth-child(odd):not(:first-child) {
    background: #CAE05A;
}


.solution-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon .icon {
    width: 80%;
    height: auto;
    object-fit: contain;
}

.solution-title {
    font-size: 24px;
    font-weight: 600;
    color: #304000;
    margin: 0;
}

/* 商家目標展示區 */
.business-goals {
    padding: 128px 0;
    background: #D7E593;
}

.goals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    gap: 0;
    height: 686px;
}

.goal-title {
    background: #304000;
    color: white;
    display: flex;
    padding: 51px 53px;
}

.goal-title h3 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    margin: 0;
}

.goal-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.goal-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.goal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.goal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 1) 100%);
    z-index: 2;
}

.goal-text {
    position: relative;
    z-index: 3;
    color: white;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    padding: 0 20px 30px;
    line-height: 1.4;
    width: 100%;
}

.goal-card.goal-1 .goal-text {
    font-size: 24px;
}

/* 提供工具區 */
.tools-section {
    padding: 128px 0;
    background-color: #FFFFE8;
}

/* Chrome, Safari, Opera */
.tools-grid::-webkit-scrollbar {
    display: none;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
    overflow: scroll;
    align-content: center;
    align-items: center;
    justify-items: center;
}

.tool-item {
    border-radius: 24px;
    text-align: center;
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: stretch;
}

.tool-icon {
    width: 130px;
    height: 130px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon .icon {
    width: 100px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .tool-icon .icon {
        width: auto;
        height: 100%;
        object-fit: contain;
    }
}

.tool-title {
    font-size: 24px;
    font-weight: 600;
    color: #304000;
    margin: 0;
}

/* 登錄檔單區 */
.registration-section {
    padding: 128px 0;
    background-color: #D7E593;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.registration-content {
    display: flex;
    width: 100%;
    justify-content: center;
}

.registration-image {
    flex: 0 0 auto;
    margin-right: -36px;
}

.registration-image img {
    width: auto;
    height: 1280px;
    border-radius: 24px;
}

.registration-form {
    background: white;
    padding: 32px 26px;
    border-radius: 24px;
    border: 1px solid #E5E5E5;
    width: 30%;
    min-width: 572px;
    height: 1280px;
}

@media (max-width: 768px) {
    .registration-form {
        height: auto;
    }
}

.form-header {
    margin-bottom: 32px;
    min-height: 100px;
}

.form-header {
    font-size: 22px;
    font-weight: 500;
    color: #304000;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.form-group {
    display: flex;
    position: relative;
    flex-direction: column;
    padding-bottom: 16px;
    margin-bottom: 12px;
}

/* 表單錯誤提示，避免撐大表單高度 */
.form-group .field-error {
    position: absolute;
    bottom: -8px !important;
    font-size: 14px !important;
}

.form-row {
    flex-direction: row;
    align-items: flex-end;
    gap: 12px;
}

.form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-col-text {
    display: flex;
    align-items: center;
}

.single-word {
    position: relative;
    bottom: 13px;
}

.form-col-text span {
    font-size: 18px;
    font-weight: 500;
    color: #304000;
}

.form-group label {
    font-size: 16px;
    font-weight: 600;
    color: #304000;
    margin-bottom: 6px;
}

.form-group label.required::after {
    content: '*';
    color: #7A961E;
    margin-left: 2px;
    size: 18px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    background: white;
    height: 54px;
    color: black;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999999;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #304000;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-store-count {
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-store-count>#store-count {
    width: 118px;
}

.form-row-city {
    display: flex;
    gap: 16px;
}

.form-col-city {
    flex: 0;
}

.form-col-city>#city {
    width: 118px;
}

#requirements {
    min-height: 100px;
    height: 100px;
    ;
}

.submit-btn {
    background: #56710B;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
    width: 100%;
    margin-bottom: 16px;
}

.link-highlight {
    text-decoration: none !important;
    color: #7A961E !important;
}

.form-footer p {
    font-size: 16px;
    color: #666666;
    margin: 0;
    line-height: 1.4;
}

/* Footer */
.footer {
    width: 100%;
    background: #304000;
    padding: 128px 0;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
}

.footer-info {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-bottom: 32px;
    border-bottom: 1px solid #7A961E;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    padding: 0 32px;
}

.footer-logo-img {
    width: 64px;
    height: 64px;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    font-family: 'DFPYuanMXBold-B5', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    color: white;
}

.footer-logo-text-subtitle {
    font-size: 20px;
    line-height: 1.3;
}

.footer-links {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    padding-right: 32px;
}

@media (max-width: 768px) {
    .footer-links {
        padding-right: 0px;
    }
}

.footer-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 20px;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-family: 'PingFang TC', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 0.83;
    letter-spacing: -0.02em;
    text-align: center;
}

.footer-link:hover {
    opacity: 0.8;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.footer-copyright {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-copyright p {
    font-family: 'PingFang TC', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.11;
    letter-spacing: -0.02em;
    text-align: center;
    color: white;
    margin: 0;
}


/* 響應式設計 */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 0px;
    }

    .section-title {
        font-size: 32px;
        margin-top: 32px !important;
        margin-bottom: 32px !important;
    }

    .merchant-solutions .section-title,
    .business-goals .section-title,
    .registration-section .section-title {
        flex-direction: column;
        text-align: center;
        margin-top: 0px !important;
        margin-bottom: 48px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-section {
        margin-top: 24px;
        padding-bottom: 24px;
        margin-top: 0px !important;
    }

    .logo-section {
        gap: 16px;
    }

    .company-intro {
        padding: 0 16px;
    }

    .company-intro-m {
        display: flex;
    }


    .intro-text {
        display: none;
        font-size: 20px;
    }

    .partnership-text {
        display: none;
        font-size: 20px;
    }

    .highlight {
        font-size: 32px;
        margin-left: 8px;
    }

    .highlight-dark {
        font-size: 32px;
    }

    .intro-text-m {
        display: block;
        text-align: left;
        font-size: 18px;
    }

    .partnership-text-m {
        display: block;
        text-align: left;
        font-size: 18px;
    }

    .phone-showcase {
        margin-bottom: 24px;
    }

    .phone-showcase {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .solutions-grid {
        display: flex;
        flex-direction: column;
    }

    .solution-header {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 40px;
    }

    .solution-header h3 {
        text-align: center;
    }

    .solution-item {
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .goals-grid {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 16px;
    }

    .goal-title {
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 12px;
        min-height: 0px !important;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .goal-card {
        min-height: 343px;
        border-radius: 12px;
    }

    .tools-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 8px;
        justify-items: center;
    }

    .tool-icon {
        width: 80px;
        height: 80px;
        font-size: 26px;
    }

    .tool-item {
        width: 140px;
    }

    .registration-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .registration-image {
        width: 100%;
        margin-right: 0;
        margin-bottom: -60px;

    }

    .registration-image img {
        width: 100%;
        height: 400px;
        object-fit: cover;
    }

    .registration-form {
        min-width: 320px;
        width: 100%;
    }

    /* Footer responsive */
    .footer {
        padding: 60px 20px;
    }

    .footer-content {
        width: 100%;
    }

    .footer-info {
        width: 100%;
        gap: 48px;
        padding-bottom: 24px;
        display: flex;
        flex-direction: column;
    }

    .footer-logo {
        flex-direction: column;
        gap: 16px;
    }

    .footer-logo-img {
        width: 48px;
        height: 48px;
    }

    .footer-logo-text {
        font-size: 20px;
        text-align: center;
    }

    .footer-links {
        gap: 24px;
        flex-direction: column;
    }

    .footer-link {
        font-size: 18px;
    }

    .footer-copyright p {
        font-size: 14px;
    }

    .form-col {
        width: 75%;
    }

    .form-header {
        font-size: 18px;
    }

    .form-group label {
        font-size: 16px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
    }

    /* 移動端吸附按鈕樣式 */
    .submit-btn.sticky {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 16px;
        margin: 0 16px;
        width: auto;
        transform: none;
        z-index: 1000;
    }

    /* 按鈕佔位元素 */
    .submit-btn-placeholder {
        height: 73px;
        /* 按鈕高度 + margin */
        width: 100%;
        display: none;
    }

    .submit-btn-placeholder.show {
        display: block;
    }

    /* 導航按鈕 */
    .go-merchant-btn {
        z-index: 100;
        padding: 0;
        background-color: rgb(50 120 146 / 0%);
        border-radius: 10px;
    }

    /* 導航連結樣式 */
    .go-merchant-btn a {
        font-size: 16px;
        text-decoration: none;
        color: rgb(19, 50, 98) !important;
    }
}



@media (min-width: 768px) and (max-width: 1112px) {
    .registration-content {
        justify-content: flex-start;
    }

    .registration-form {
        position: absolute;
        width: 572px;
        right: 32px;
    }
}

/* 手機寬度下，讓表單容器不要被 WOW/animate.css 影響 */
@media (max-width: 768px) {
    .registration-form {
        visibility: visible !important;
        /* 破除 WOW 初始 hidden */
        animation: none !important;
        /* 停掉 animate.css 動畫 */
        transform: none !important;
        /* 避免祖先 transform 影響 fixed 基準 */
    }
}

/* —— 漸層底板引數（可自行微調） —— */
:root {
    --cta-rail-pad: 0px;
    /* 底板超出按鍵的外擴距離 */
    --cta-rail-radius: 12px;
    /* 底板圓角 */
    --cta-rail-color: #56710;
    /* ⬅️ 你的背景色（可改） */
}

@media (max-width: 768px) {
    .submit-btn.sticky {
        position: fixed;
        left: calc(env(safe-area-inset-left, 0px) + 8px);
        right: calc(env(safe-area-inset-right, 0px) + 8px);
        bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
        margin: 0 8px;
        width: auto;
        transform: none;
        z-index: 1000;
        isolation: isolate;
        /* 確保偽元素層級穩定 */
        border: solid 1px #CAE05A;
    }

    /* 底板：保持按鍵本身顏色不變，只在背後鋪色 */
    .submit-btn.sticky::before {
        content: "";
        position: absolute;
        top: calc(var(--cta-rail-pad) * -1);
        right: calc(var(--cta-rail-pad) * -1);
        bottom: calc(var(--cta-rail-pad) * -1);
        left: calc(var(--cta-rail-pad) * -1);
        border-radius: var(--cta-rail-radius);
        background: var(--cta-rail-color);
        /* 單色底板 */
        /* 若想一點層次，可改成：linear-gradient(135deg,#F6FBEA 0%,#E7F3CC 100%) */
        z-index: -1;
        pointer-events: none;
        box-shadow: rgba(24, 84, 39, 0.25) 0px 54px 55px, rgba(24, 84, 39, 0.12) 0px -12px 30px, rgba(24, 84, 39, 0.12) 0px 4px 6px, rgba(24, 84, 39, 0.17) 0px 12px 13px, rgba(24, 84, 39, 0.09) 0px -3px 5px;
    }

    /* 佔位高度加一點，避免底板壓到內容 */
    .submit-btn-placeholder.show {
        height: calc(64px + var(--cta-rail-pad) * 2);
    }
}

/* 1. 包裹 select 的容器，用於定位自訂箭頭 */
.select-wrapper {
    position: relative;
    background: #fff;
    display: inline-block;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

/* 2. 核心：重置 select 樣式並加入自訂箭頭 */
.form-select {
    /* --- 隱藏原始樣式 --- */
    -webkit-appearance: none;
    /* for Chrome, Safari, a new Edge */
    -moz-appearance: none;
    /* for Firefox */
    appearance: none;
    /* for modern browsers */

    /* --- 用背景圖加上新箭頭 --- */
    /* 建議使用 SVG 圖檔，可以隨顏色變化且不失真 */
    background-image: url('data:image/svg+xml;utf8,<svg fill="#fff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;

    /* --- 調整箭頭位置（解決太靠近邊緣的問題）--- */
    /* background-position: right [X軸偏移] top [Y軸偏移]; */
    /* 'right 1rem' 代表離右邊界 1rem (16px) 的地方 */
    background-position: right 1rem center;

    /* --- 為了不讓文字跟箭頭重疊，需要增加右邊的 padding --- */
    padding-right: 3rem;
    /* padding 的值需要比箭頭的寬度 + 偏移量更大 */


    /* --- 其他美化樣式，可以自由調整 --- */
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    /* 上下左右的內距 */
    font-size: 1rem;
    font-family: inherit;
    /* 繼承父層的字型 */
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

/* 移除 IE/Edge 預設的清除按鈕（可選）*/
.form-select::-ms-expand {
    display: none;
}

/* 加上 ---> */

.form-group select {
    /* --- 原有的樣式 (保留) --- */
    padding: 16px;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    background-color: white;

    /* 1. 隱藏瀏覽器預設箭頭 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* 2. 加上自訂的 SVG 箭頭當作背景圖 */
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;

    /* 3. 設定箭頭位置，讓它離右邊界有段距離 (例如 16px) */
    background-position: right 16px center;

    /* 4. 增加右側內距，避免文字跟箭頭疊在一起 */
    /* 原本 padding: 16px; 會被這個覆蓋 */
    padding-right: 48px;
}

/* 針對 select 元素，滑鼠移上去時顯示手指圖示 */
.form-group select {
    cursor: pointer;
}

/* 加上 ---> */

/* for 固定置頂列 */

body {
    padding-top: 72px;
}

.fixed-bar-header-container {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.fixed-bar-header-wrap {
    width: 100%;
    height: 64px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    /* 設置毛玻璃效果 */
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding-right: 32px;
    padding-left: 32px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 10px 50px;
}

@media (max-width: 768px) {
    .fixed-bar-header-wrap {
        padding-right: 16px;
        padding-left: 16px;
    }
}

.fixed-bar-logo-container {
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fixed-bar-logo-group {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

.fixed-bar-logo-group-container {
    height: 48px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.fixed-bar-logo {
    width: 48.02px;
    height: 48px;
}

.fixed-bar-section {
    width: 73.79px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2px;
    margin-top: 5.65px;
    margin-left: 8px;
}

@media (max-width: 768px) {
    .fixed-bar-section {
        display: none;
    }
}

.fixed-bar-subSection {
    width: 73.59px;
    height: 34.71px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.fixed-bar-block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 73.59px;
    height: auto;
}

.fixed-bar-logo-text {
    width: 73.59px;
    height: auto;
}

/* .fixed-bar-logo-en {
    width: 73.15px;
    height: 8.83px;
    margin-top: 3px;
    margin-left: 0.23px;
} */

.fixed-bar-btn-top-group {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}

.fixed-bar-btn-top-group-container {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

.fixed-bar-section1 {
    height: 48px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.fixed-bar-btn-top {
    padding: 0 16px;
    height: 48px;
    border-radius: 12px;
    border-color: rgba(122, 150, 30, 1);
    border-style: solid;
    border-width: 1px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.fixed-bar-text {
    font-family: 'PingFang TC';
    font-size: 18px;
    white-space: nowrap;
    text-align: center;
    color: rgba(122, 150, 30, 1);
    line-height: normal;
    font-weight: 600;
}

.fixed-bar-btn-top-ml {
    margin-left: 8px;
}

.fixed-bar-btn-img {
    width: 136px;
    height: 25px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.fixed-bar-img-arrorw {
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    margin-left: 4px;
}

/* 底部固定按鍵背景 */

/* 底部固定按鍵背景（預設隱藏） */
.submit-btn-bg {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    /* 按鈕層級要更高，如 1000 */
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 1%,
            rgba(255, 255, 255, 0.5) 45%,
            rgba(255, 255, 255, 0.99) 99%,
            rgba(255, 255, 255, 1) 100%);
    opacity: 0;
    pointer-events: none;
    /* 不阻擋按鈕點選 */
    transition: opacity .18s ease;
}

.submit-btn-bg.show {
    opacity: 1;
}

/* 佔位高度要 >= 背景高度（避免遮住內容） */
.submit-btn-placeholder.show {
    height: 120px;
}

/* 隱私政策彈窗樣式 */
.agreement-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.agreement-modal.show {
    display: block;
}

.agreement-modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: agreementModalSlideIn 0.3s ease-out;
}

.agreement-modal-header {
    color: black;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.agreement-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.agreement-modal-close {
    color: #6b7280;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    line-height: 1;
}

.agreement-modal-close:hover {
    color: #374151;
    background-color: #e5e7eb;
}

.agreement-modal-body {
    padding: 0;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

.agreement-modal-content-wrapper {
    padding: 30px;
    line-height: 1.8;
}

.agreement-modal-section {
    margin-bottom: 40px;
}

.agreement-modal-section:last-child {
    margin-bottom: 0;
}

.agreement-modal-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.agreement-modal-subsection {
    margin-bottom: 25px;
}

.agreement-modal-subsection-title {
    font-size: 18px;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 15px;
}

.agreement-modal-text {
    font-size: 15px;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.7;
}

.agreement-modal-text.font-medium {
    font-weight: 600;
    color: #2c3e50;
}

.agreement-modal-text.indent {
    margin-left: 20px;
    position: relative;
}

.agreement-modal-indent {
    margin-left: 20px;
}

.agreement-modal-indent .agreement-modal-indent {
    margin-left: 20px;
}

@keyframes agreementModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* 彈窗響應式設計 */
@media (max-width: 768px) {
    .agreement-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }

    .agreement-modal-header {
        padding: 15px 20px;
    }

    .agreement-modal-header h2 {
        font-size: 20px;
    }

    .agreement-modal-content-wrapper {
        padding: 20px;
    }

    .agreement-modal-section-title {
        font-size: 18px;
    }

    .agreement-modal-subsection-title {
        font-size: 16px;
    }

    .agreement-modal-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .agreement-modal-content {
        width: 98%;
        margin: 2% auto;
        max-height: 90vh;
    }

    .agreement-modal-content-wrapper {
        padding: 15px;
    }

    .agreement-modal-text.indent,
    .agreement-modal-indent {
        margin-left: 15px;
    }
}

.announcement-container {
    padding: 24px;
    line-height: 1.6;
}

.announcement-section {
    margin-bottom: 32px;
}

.announcement-section:last-child {
    margin-bottom: 0;
}

.announcement-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.announcement-section-content {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 0;
    line-height: 1.7;
}

.announcement-section-intro {
    margin-bottom: 16px;
    padding-left: 16px;
}

.announcement-list {
    padding-left: 16px;
}

.announcement-list-item {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 12px;
    line-height: 1.7;
}

.announcement-list-item:last-child {
    margin-bottom: 0;
}

.announcement-subsection {
    margin-bottom: 20px;
}

.announcement-subsection:last-child {
    margin-bottom: 0;
}

.announcement-subsection-title {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    padding-left: 16px;
}

.announcement-subsection-content {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 12px;
    line-height: 1.7;
    padding-left: 32px;
}

.announcement-subsection-content:last-child {
    margin-bottom: 0;
}

.announcement-contact {
    margin-bottom: 12px;
}

.announcement-contact:last-child {
    margin-bottom: 0;
}

.announcement-contact-info {
    padding-left: 16px;
}

.announcement-contact-item {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 8px;
    line-height: 1.7;
}

.announcement-contact-item:last-child {
    margin-bottom: 0;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .announcement-modal-content {
        margin: 5% auto;
        width: 95%;
        max-height: 85vh;
    }

    .announcement-modal-header {
        padding: 16px 20px;
    }

    .announcement-modal-title {
        font-size: 20px;
    }

    .announcement-container {
        padding: 20px;
    }

    .announcement-section-title {
        font-size: 16px;
    }

    .announcement-subsection-title {
        font-size: 15px;
    }

    .announcement-section-content,
    .announcement-list-item,
    .announcement-subsection-content,
    .announcement-contact-item {
        font-size: 13px;
    }
}

/* 以下 for 商家使用條款 ＆ 隱私權政策 */

/* 取消首頁 body 區 for Fixed Header 的上內距 */
.body-common {
    padding-top: 0px;
}

/* 商家使用條款頁面樣式 */

/* 頁面標題區 */
.terms-header {
    background: #304000;
    color: #F7F9C9;
    padding: 50px 0;
    text-align: center;
}

.terms-page-title {
    font-size: 40px;
    font-weight: 500;
    color: #F7F9C9;
    line-height: 56px;
}

/* 主要內容區 */
.terms-main {
    padding: 100px 0;

    background: #FFFFE8;
}

.terms-content {
    margin: 0 auto;
    max-width: 1030px;
}

.terms-main-title {
    font-size: 30px;
    font-weight: 600;
    color: #7A961E;
    margin-bottom: 8px;
    display: flex;
}

.terms-main-title--highlight {
    color: #304000;
}

/* 章節樣式 */
.terms-section {
    margin-bottom: 8px;
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-section-title {
    font-size: 24px;
    font-weight: 500;
    color: #7A961E;
    line-height: 50px;
}

.terms-section-content {
    padding-left: 24px;
}

.terms-section-content>p {
    font-size: 20px;
    color: #242424;
    font-weight: 300;
    margin-bottom: 8px;
    line-height: 28px;
    text-align: justify;
}


/* 列表樣式 */
.terms-list {
    margin: 16px 0;
    padding-left: 0;
}

.terms-bullet-list {
    list-style-type: disc;
    padding-left: 20px;
}


.terms-subsection {
    margin-bottom: 20px;
}

.terms-subsection p:first-child {
    font-weight: 500;
    color: #7A961E;
    margin-bottom: 8px;
}

/* 隱私權政策頁面樣式 */

/* 頁面標題區 */
.announcement-header {
    background: #304000;
    color: #F7F9C9;
    padding: 50px 0;
    text-align: center;
}

.announcement-page-title {
    font-size: 40px;
    font-weight: 500;
    color: #F7F9C9;
    line-height: 56px;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .announcement-page-title {
        font-size: 32px;
    }
}

/* 主要內容區 */
.announcement-main {
    padding: 100px 0;
    background: #FFFFE8;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .announcement-main {
        padding: 60px 0;
    }
}

.announcement-content {
    margin: 0 auto;
    max-width: 1030px;
}

.announcement-main-title {
    font-size: 30px;
    font-weight: 600;
    color: #7A961E;
    margin-bottom: 24px;
    display: flex;
}

.announcement-main-title--highlight {
    color: #304000;
}

/* 章節樣式 */
.announcement-section {
    margin-bottom: 32px;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .announcement-section  {
        padding: 0px;
    }
}

.announcement-section:last-child {
    margin-bottom: 0;
}

.announcement-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #7A961E;
    line-height: 50px;
}

.announcement-section-content {
    padding-left: 24px;
    padding-right: 16px;
}

.announcement-section-content>p {
    font-size: 20px;
    color: #242424;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 28px;
    text-align: justify;
}

/* 列表樣式 */
.announcement-list {
    margin: 16px 0;
    padding-left: 0;
}

.announcement-bullet-list {
    list-style-type: disc;
    padding-left: 20px;
}

.announcement-subsection {
    margin-bottom: 20px;
}

.announcement-subsection p:first-child {
    font-weight: 500;
    color: #7A961E;
    margin-bottom: 8px;
}

/* 共用區 */

li {
    font-size: 20px;
    color: #242424;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 28px;
    position: relative;
    text-align: justify;
}

li:last-child {
    margin-bottom: 0;
}

li::marker {
    font-size: 20px;
    color: #7A961E;
}

li>p {
    font-size: 20px;
}

.announcement-sublist-item {
    padding-left: 20px;
    margin-bottom: 20px;
}

.announcement-margin-top {
    margin-top: 20px;
}


/* 捲軸樣式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 平滑滾動 */
html {
    scroll-behavior: smooth;
}

/* 選中文字樣式 */
::selection {
    background: #667eea;
    color: white;
}

::-moz-selection {
    background: #667eea;
    color: white;
}

/* 表格 */
td, th {
    border: 1.5px solid #000;
    padding: 10px;
}
colgroup {
    background: rgb(238, 255, 217);   /* 欄群組背景 */
}
colgroup:nth-of-type(2) {
    background: rgb(254, 255, 207);   /* 第二個欄群組的背景 */
}
.a {border-collapse: collapse;
}
.announcement-section-table {
    font-size: 18px;
    color: #242424;
    margin-bottom:20px;
    padding-left: 20px;
    line-height: 1.7;
}