:root {
    --element-text-default: #212529;
    --Default-black: #212529;
    --Default-White: #fff;
    --primary-medium: #1a75bc;
    --primary-light: #e3effb;
    --primary-light-2: #f2f8fd;
    --element-text-secondary: #6c757d;
    --element-text-placeholder: #adb5bd;
    --element-text-tertiary: #adb5bd;
    --element-border-primary: #1a75bc;
    --element-surface-light-grey: #f8f9fa;
    --color-blue-300: #8bc4ee;
    --yellow: #ffcc39;
    --color-yellow-300: #ffcc39;
    --color-yellow-100: #fff4c2;
    --color-gray-100: #f8f9fa;
    --color-blue-200: #c2dff5;
    --Blue-400: #4ea6e2;
    --Blue-500: #278bd0;
    --max-width: 100%;
    --paragraph-lead: 20px;
    --paragraph-large: 18px;
    --paragraph-body: 16px;
    --paragraph-small: 14px;
    --paragraph-caption: 12px;
    --56: 56px;
    --32: 32px;
    --14: 14px;
    --12: 12px;
    --4: 4px;
    --element-round-full: 999px;
    --element-surface-primary: #1a75bc;
    --element-surface-primary-dark: #154b77;
    --element-surface-primary-light: #f2f8fd;
    --element-border-standard: #dee2e6;
    --element-text-primary-primary: #1a75bc;
    --element-text-primary-primary-dark: #154b77;
    --element-border-form: #e9ecef;
    --sds-color-border-default-default: #d9d9d9;
    --bs-body-font-size: 16px;
    @media(max-width: 991.98px){
        --paragraph-lead: 16px;
        --paragraph-large: 16px;
        --paragraph-body: 14px;
        --bs-body-font-size: 14px;
    }
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--bs-heading-color);
    font-family: "Noto Sans TC", sans-serif;
}
h1 {
    font-size: 36px;
    @media(min-width:992px){
        font-size: 56px;
    }
}
h2 {
    font-size: 32px;
    @media(min-width:992px){
        font-size: 48px;
    }
}
h3 {
    font-size: 28px;
    @media(min-width:992px){
        font-size: 40px;
    }
}
h4{
    font-size: 28px;
    @media(min-width:992px){
        font-size: 32px;
    }
}
h5 {
    font-size: 24px;
}
.lead{
    font-size: 16px;
    font-weight: 700;
    @media(min-width:992px){
        font-size: 20px;
    }
}
.paragraph-body{
    font-size: var(--paragraph-body);
}
.paragraph-lead {
    font-size: var(--paragraph-lead);
}
.paragraph-small{
    font-size: var(--paragraph-small);
}
.element-text-secondary {
    color: var(--element-text-secondary) !important;
}
label {
    color: var(--element-text-secondary);
}
a {
    text-decoration: none !important;
}
img {
    max-width: 100%;
    height: auto;
}
footer {
    position: relative;
    background: var(--bs-body-bg);
}
#banner{
    margin-top: 44px;
    margin-bottom: 32px;
    @media(min-width:992px){
        margin-bottom: 56px;
    }
    h3 {
        position: absolute;
        color: #fff;
        margin: auto 0;
        padding: 1.5rem;
        font-size: 1.875rem;
        @media(width >= 1400px){
            padding: 0 0 0 40px;
            font-size: 40px;
        }
    }
    picture img{
        border-radius: 16px;
    }
}
.pagePadding{
    padding: 0 1.25rem;
    @media(width >= 1400px){
        padding: 0;
    }
}
.pageMargin{
    margin: 0 1.25rem;
    @media(width >= 1400px){
        margin: 0;
    }
}
.card-link{
    .card {
        border: unset;
        gap: 1rem;
        border-radius: 16px;
        transition: all 0.3s ease;
        &:hover{
            box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.08);
        }
        img{
            border-radius: 16px;
        }
        .card-body {
            flex: 1 1 auto;
            padding: 0 16px 16px 16px;
            color: var(--bs-card-color);
            .card-category{
                width: max-content;
                padding: 3px 6px;
                color: var(--primary-medium);
                font-size: 14px;
                line-height: 125%;
                border-radius: 999px;
                background: var(--primary-light);
            }
            .card-title{
                color: var(--Default-black);
                text-align: start;
                margin-bottom: 0;
                font-size: var(--paragraph-lead) !important;
                font-weight: 700;
                line-height: 150%;
                word-wrap: break-word;
                overflow: hidden;
                display: -webkit-box;
                -webkit-line-clamp: 1;
                -webkit-box-orient: vertical;
                text-overflow: ellipsis;
            }
            .card-text {
                text-align: start;
                margin-bottom: 24px;
                color: var(--element-text-secondary);
                font-size: var(--paragraph-body);
                font-weight: 400;
                line-height: 150%;
                word-wrap: break-word;
                overflow: hidden;
                display: -webkit-box;
                -webkit-line-clamp: 3;
                -webkit-box-orient: vertical;
                text-overflow: ellipsis;
            }
            .card-date{
                color: var(--element-text-tertiary);
                font-size: var(--paragraph-body, 16px);
            }
        }
    }
}
/* 機場取貨 */
#airplane{
    #section1{
        margin-bottom: 72px;
        .cardWrapper{
            margin-top: 32px;
            gap: 32px;
            @media(min-width:992px){
                margin-top: 55px;
                gap: 0;
            }
            .fa-solid.fa-caret-right{
                color: var(--element-text-primary-primary-dark);
                margin-top: 24px;
                transform: rotate(90deg);
                @media(min-width:992px){
                    margin-top: 0;
                    transform: translateX(14px);
                }
            }
            .card {
                padding-top: 48px;
                padding-bottom: 32px;
                width: 100%;
                height: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                border-radius: 8px;
                border: 1px solid var(--element-border-standard);
                p{
                    margin-bottom: 0;
                }
                i{
                    font-size: 24px;
                    color: var(--primary-medium);
                    width: 30px;
                    height: 30px;
                    top: -34px;
                    position: absolute;
                    padding: 16px;
                    border-radius: 100px;
                    background: var(--element-surface-primary-light);
                    overflow: visible;
                    box-sizing: content-box;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }
            }
        }
    }
    #section2{
        margin-bottom: 56px;
        .pickup-info{
            display: flex;
            flex: 1;
            flex-direction: column;
            gap: 4px;
            padding: 24px;
            border-radius: 8px;
            border: 1px solid var(--element-border-standard);
            background: var(--element-surface-light-grey);
            span{
                font-weight: 700;
            }
            i{
                color: var(--primary-medium);
            }
        }
    }
    #section3{
        margin-bottom: 72px;
        @media(min-width:992px){
            margin-bottom: 96px;
        }
        h5{
            @media(max-width:991.98px){
                font-size: 22px;
            }
        }
        .location-image{
            display: flex;
            flex-direction: column;
            gap: 8px;
            img {
                border-radius: 8px;
                border: 1px solid var(--element-border-standard);
                width: 100%;
            }
            span {
                color: var(--element-text-tertiary);
                text-align: center;
                font-size: var(--paragraph-small);
            }
        }
    }
    #section4{
        gap: 40px;
        .screen img{
            border-radius: 8px;
            border: 1px solid var(--element-border-standard);
            width: 100%;
        }
    }
    #section5{
        display: flex;
        flex-direction: column;
        margin-top: 32px;
        margin-bottom: 80px;
    }
}
/* 最新活動 */
#news{
    .nav.nav-tabs{
        display: flex;
        align-items: center;
        width: max-content;
        border-radius: 1rem;
        border: 2px solid rgba(26, 117, 188, 0.6);
        background: var(--primary-light-2);
        padding: 0.5rem;
        gap: 0.5rem;
        flex-wrap: nowrap;
        .nav-item {
            flex-shrink: 0;
            .nav-link{
                color: var(--Default-black);
                padding: 14px 32px !important;
                border-radius: 8px;
                border: unset;
                background-color: transparent;
                border: 2px solid transparent;
                &:hover{
                    border: 2px solid var(--primary-medium);
                }
                &.active{
                    color: #fff;
                    padding: 24px 32px;
                    background-color: var(--primary-medium);
                    &:hover{
                        border: 2px solid transparent;
                    }
                }
            }
        }
    }
    .tab-wrapper {
        width: 100vw;
        overflow-x: scroll;
        --padding: 20px;
        padding-left: var(--padding);
        padding-right: var(--padding);
        margin-bottom: 2rem;
        @media (width >= 1400px) {
            --padding: 0;
            margin-bottom: 2.5rem;
        }
    }
    .tab-content {
        min-height: 50vh;
    }
    .loadmore {
        color: #fff;
        padding: 10px 20px;
        margin-bottom: 88px;
        border-radius: 999px;
        background: var(--element-surface-primary);
        transition: all 0.3s ease;
        &:hover{
            border: 1px solid var(--element-surface-primary-dark);
            background: var(--element-surface-primary-dark);
        }

    }
}
/* 最新活動 內頁 */
#article{
    margin-top: 40px;
    .articleBanner{
        margin-bottom: 24px;
    }
    .articleBannerImg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 1076 / 493;
        border-radius: 8px;
    }
    .title_block{
        margin-top: 24px;
        p{
            margin-bottom: 8px;
        }
        p.category{
            color: var(--primary-medium);
            border-radius: 999px;
            background: var(--primary-light);
            padding: 3px 6px;
            margin-right: 16px;
        }
        p.date{
            color: var(--element-text-tertiary);
            font-family:  "Noto Sans TC";
        }
        h1.title{
            font-size: 28px;
            margin-bottom: 16px;
            @media(width>=992px){
                font-size: 32px;
            }
        }
        .socialmedia{
            display: flex;
            gap: 8px;
            a{
                display: inline-block;
                width: 48px;
                height: 48px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 36px;
                border: 2px solid var(--element-border-standard);
                background: var(--element-surface-normal);
                color: var(--element-text-default);
                font-size: 20px;
            }
        }
    }
    .articleContent{
        padding-bottom: 72px;
        margin-bottom: 32px;
        /* border-bottom: 1px solid var(--element-border-standard); */
        @media(width>=992px){
            padding-bottom: 80px;
            margin-bottom: 40px;
        }
        p{
            line-height: 24px;
            color: var(--element-text-default);
            &.small{
                line-height: 17.5px;
            }
        }
        img{
            border-radius: 8px;
            margin-bottom: 40px;
        }
    }
}
/* 門市位置 */
#store{
    margin-bottom: 72px;
    @media(min-width:992px){
        margin-bottom: 96px;
    }
    .title-block{
        display: flex;
        flex-direction: column;
        gap: 8px;
        .description{
            margin: 0;
            margin-bottom: 24px;
            font-size: var(--paragraph-body);
        }
    }
    .store-list-block {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 16px;
        border-radius: 16px;
        border: 1px solid var(--element-border-standard, #dee2e6);
        background: var(--element-surface-normal, #fff);
        @media(min-width:992px){
            flex-direction: row;
        }
        &>div{
            flex: 1;
        }
        i{
            color: var(--primary-medium);
            font-size: 20px;
            width: 20px;
        }
        .store-list-description {
            padding: 16px;
            border-radius: 8px;
            background: var(--primary-light-2, #f2f8fd);
            font-size: var(--paragraph-small, 14px);
        }
        .store-map {
            border-radius: 8px;
            overflow: hidden;
            iframe {
                width: 100%;
                min-height: 158px;
                height: 100%;
                border-radius: 8px;
                @media(min-width:768px){
                    min-height: 200px !important;
                }
                @media(min-width:992px){
                    min-height: 240px !important;
                }
                @media(min-width:1200px){
                    min-height: 340px !important;
                }
            }
        }
        .btn-fill-m {
            font-size: var(--paragraph-body);
            display: inline-flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            color: var(--Default-White);
            min-height: 40px;
            padding: 10px 20px;
            border-radius: var(--element-round-full);
            border: unset;
            background: var(--element-surface-primary);
            transition: all 0.3s ease;
            &:hover{
                background: var(--element-surface-primary-dark);
            }
            i{
                color: var(--Default-White);
            }
        }
    }
}
/* 常見問題 */
#faq{
    margin-top: 40px;
    .left-sticky {
        position: sticky;
        top: 40px;
        /* height: 100vh; */
    }
    .left-Block{
        margin-bottom: 4rem;
        &.sticky{
            position: sticky;
            top: 220px;
            width: calc(1140px / 12* 3);
            padding-right: 60px !important;
        }
        /* &.fixed{
            position: fixed;
            top: 220px;
            width: calc(1140px / 12* 3);
            padding-right: 60px !important;
        } */
    }
    .list-group {
        border-radius: 8px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        background: var(--white, #fff);
        .list-group-item {
            border: unset;
            padding: 0;
            a{
                font-size: 16px;
                padding: 12px 24px;
                display: block;
                width: 100%;
                color: #212529;
            }
            &.active {
                color: var(--primary-medium);
                border: unset;
                background: var(--primary-light);
                margin-top: 0;
                a{
                    color: var(--primary-medium);
                }
            }
        }
    }
    .scrollable-content {
        overflow-y: auto;
        .content-section {
            margin-bottom: 64px;
            .empty {
                display: block;
                height: 220px;  
                margin-top: -220px;
                visibility: hidden;
            }
            .question-block {
                padding: 0px 12px;
                border-radius: 16px;
                border: 1px solid var(--element-border-standard, #dee2e6);
                background: #fff;
                @media(min-width: 992px){
                    padding: 0px 24px;
                }
                .btn {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    text-align: start;
                    width: 100%;
                    padding: 12px 0;
                    font-size: var(--paragraph-lead, 20px);
                    font-weight: bold;
                    border: 0;
                    @media(min-width: 992px){
                        padding: 16px 0;
                    }
                    &:focus{
                        outline: none !important;
                        box-shadow: none !important;
                    }
                    i{
                        color: var(--primary-medium);
                    }
                }
                .card {
                    border-right: unset;
                    border-bottom: unset;
                    border-left: unset;
                    border-radius: 0;
                }
            }
        }
    }
}
/* 聯絡我們 */
#contact{
    h4.contact-page-title {
        font-weight: 700;
    }
    .office-card{
        border: 1px solid var(--element-border-standard);
        border-radius: 8px;
        transition: all 0.3sease;
        .icon-wrapper{
            width: 20px;
            height: 20px;
            margin-right: 8px;
            margin-top: 4px;
            margin-bottom: 8px;
            i{
                width: 1rem;
                height: 1rem;
                color: var(--element-text-primary-primary);
            }
        }
        .info-wrapper {
            margin-bottom: 8px;
        }
    }
    .office-address, .office-phone, .office-hours {
        font-size: 0.9rem;
        color: var(--element-text-default);
    }
    .info-wrapper a, .info-wrapper p {
        line-height: 21px;
        margin-bottom: 0;
    }
    h5.office-title.lead {
        @media(max-width:991.98px){
            margin-bottom: 12px;
        }
    }
    .contact-pill{
        color: var(--element-surface-primary);
        display: inline-flex;
        gap: 8px;
        border-radius: 999px;
        background: var(--element-surface-primary-light);
        padding: 8px 16px;
        align-items: center;
        transition: all 0.3s ease;
        @media(max-width:991.98px){
            font-size: 14px;
            i{
                font-size: 16px;
            }
        }
    }
    .contact-pill.pill-without-text {
        padding: 8px;
    }
    #Form{
        margin-top: 120px;
        margin-bottom: 96px;
    }
    @media (min-width: 992px) {
        .contact-form {
            max-width: 800px;
            margin: 0 auto;
        }
    }
    .form-select.is-valid, .was-validated .form-select:valid {
        border-color: var(--bs-form-valid-border-color);
    }
    .form-control.is-invalid, .was-validated .form-control:invalid {
        background-image: none !important;
    }
    .btn-fill-m {
        font-size: var(--paragraph-body);
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        color: var(--Default-White);
        min-height: 40px;
        padding: 10px 20px;
        border-radius: var(--element-round-full);
        border: unset;
        background: var(--element-surface-primary);
        transition: all 0.3s ease;
        &:hover{
            background-color: var(--element-surface-primary-dark);
        }
    }
    .form-label{
        font-size: var(--paragraph-small);
    }
    .form-select, .form-control{
        min-height: 44px;
        padding: 12px 16px;
    }
    input::placeholder, 
    textarea::placeholder {
        color: var(--element-text-placeholder); 
    }
    .form-control:focus-visible, .form-control:focus {
        border: 1px solid !important;
        box-shadow: unset !important;
    }
    .invalid-feedback {
        width: 100%;
        margin-top: .25rem;
        font-size: .875em;
        color: #dc3545;
    }
}
/* 關於翔翼 */
#about{
    margin-top: 56px;
    .h4TitleMargin{
        margin-top: 120px;
        margin-bottom: 40px;
    }
    .about-bg {
        position: absolute;
        top: -60px;
        width: 100%;
        z-index: -1;
    }
    .banner {
        margin-top: 56px;
        width: 100%;
        @media(min-width:992px){
            padding-left: 57px;
            padding-right: 57px;
        }
    }
    #drcor-left {
        position: absolute;
        width: 91px;
        height: 91px;
        top: -55px;
        left: -34px;
        @media(min-width:992px){
            width: 152px;
            height: 130px;
            top: 0;
            left: -24px;
        }

    }
    #drcor-right{
        position: absolute;
        width: 69px;
        height: 69px;
        top: 140px;
        right: 40px;
        @media(max-width:991.98px){
            display: none;
        }
    }
    #location-icon {
        width: 38px;
        height: 45px;
    }
    .highlight {
        position: relative;
    }
    .highlight::after {
        content: '';
        background: #ffcc39;
        position: absolute;
        width: 100%;
        height: 50%;
        bottom: 0;
        left: 0;
        z-index: -1;
    }

    .card {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        border: 1px solid var(--element-border-standard);
        border-radius: 8px;
        height: 100%;
        img{
            width: 56px;
            @media(min-width:992px){
                width: 72px;
                height: 72px;
                
            }
        }
        .card-text:last-child {
            margin-bottom: 0;
        }
    }
    .sc2-block-top{
        margin-top: 96px;
    }
    .sc2-block {
        position: relative;
        width: 100%;
        height: 88%;
        @media(min-width:992px){
            height: 40%;
        }
    }
    .sc2-block-left{
        position: absolute;
        padding: 16px;
    }
    .sc2-block-left-content{
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        padding: 32px;
        border-radius: 16px;
        background: rgba(26, 117, 188, 0.8);
        color: #fff;
        text-align: start;
        height: 56%;
        @media (min-width: 992px) {
            padding: 16px;
            height: 100%;
        }
        @media(min-width: 1200px){
            padding: 56px;
        }
    }
    .about-sc2-bg img{
        border-radius: 24px;
    }
    .block04{
        margin-top: 96px;
        margin-bottom: 96px;
    }
}
/* 宅配資訊 */
#shipping{
    margin-bottom: 96px;
    .delivery-table {
        display: grid;
        margin-bottom: 28px;
        .table-header, .table-row{
            padding: 1.5rem 0;
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
            padding: 1.5rem 0;
            align-items: center;
            @media(min-width:992px){
                display: grid;
                grid-template-columns: 3fr 7fr;
            }
        }
        .table-header{
            display: none;
            font-weight: 700;
        }
        .table-header, .table-row:not(:last-child) {
            border-bottom: 1px solid var(--element-border-standard);
        }
        .cost {
            @media(min-width:992px){
                width: 60%;
            }
        }
        .note {
            font-size: var(--paragraph-small);
            color: var(--element-text-secondary);
            line-height: 17.5px;
            margin: 0;
        }
        small {
           display: inline-block;
           font-size: 14px;
           line-height: 17.5px;
           margin: 4px 0 8px;
           color: var(--element-text-secondary);
       }
        .description{
            line-height: 21px;
            @media(min-width:992px){
                line-height: 24px;
            }
           .notice {
                color: var(--element-text-secondary);
                line-height: 17.5px;
                border-radius: 8px;
                background: var(--element-surface-primary-light);
                padding: 1rem;
            }
        }
    }
}

.static-page-content {
    .title {
        font-size: 20px;
        font-weight: bold;
        padding: 13px 13px 15px 13px;
    }
    .content {
        color: var(--bs-card-color);
        .list {
            list-style-type: decimal;
            margin-left: .3rem;
            padding: 0;
            padding-left: 1rem;
        }
    }
}
