.my-container {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
}

/* 導航欄-start */
.main-header {
    background: #ffffff;

    &.is-collapsed {
        background: #ffffff;
    }
}

/* 導航欄-end */

/* Banner輪播-start */

.home-banner-section {
    width: 100%;
    align-self: stretch;
    padding: 0;
    padding-bottom: 0;

    .home-banner-swiper {
        width: 100%;
        overflow: hidden;

        .swiper-slide {
            position: relative;
            width: 100%;
            height: 700px;
            border-radius: 18px;
            overflow: hidden;
            transition: height 0.3s ease;

            img {
                width: 100%;
                height: 100%;
                display: block;
                object-fit: cover;
            }

            .banner-slide__overlay {
                position: absolute;
                inset: 0;
                z-index: 1;
                background: linear-gradient(90deg, rgba(24, 24, 24, 0.62) 0%, rgba(24, 24, 24, 0.38) 42%, rgba(24, 24, 24, 0) 72%);
                pointer-events: none;
            }

            .banner-slide__content {
                position: absolute;
                top: 50%;
                left: max(40px, calc((100% - 1400px) / 2));
                z-index: 2;
                width: min(520px, calc(100% - 100px));
                transform: translateY(-50%);
                color: var(--white-color);

                .banner-slide__tag,
                .banner-slide__title,
                .banner-slide__desc,
                .banner-slide__actions {
                    opacity: 0;
                    transform: translateY(32px);
                    transition: opacity 0.55s ease, transform 0.55s ease;
                }

                &.is-animated {
                    .banner-slide__tag {
                        opacity: 1;
                        transform: translateY(0);
                        transition-delay: 0.08s;
                    }

                    .banner-slide__title {
                        opacity: 1;
                        transform: translateY(0);
                        transition-delay: 0.18s;
                    }

                    .banner-slide__desc {
                        opacity: 1;
                        transform: translateY(0);
                        transition-delay: 0.28s;
                    }

                    .banner-slide__actions {
                        opacity: 1;
                        transform: translateY(0);
                        transition-delay: 0.38s;
                    }
                }
            }

            .banner-slide__tag {
                display: inline-block;
                margin-bottom: 16px;
                padding: 5px 20px;
                border-radius: 999px;
                background: rgba(255, 255, 255, 0.16);
                border: 1px solid rgba(255, 255, 255, 0.28);
                font-size: 13px;
                font-weight: 400;
                letter-spacing: 0.02em;
                line-height: 1.6;
            }

            .banner-slide__title {
                margin: 0 0 16px;
                font-size: 46px;
                font-weight: 500;
                line-height: 1.3;
                letter-spacing: -0.02em;
            }

            .banner-slide__desc {
                margin: 0 0 28px;
                font-size: 17px;
                font-weight: 400;
                line-height: 1.65;
                color: rgba(255, 255, 255, 0.92);
            }

            .banner-slide__actions {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                gap: 12px;
            }

            .banner-slide__btn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-width: 140px;
                height: 48px;
                padding: 0 30px;
                border-radius: 999px;
                border: 1px solid rgba(0, 0, 0, 0.1);
                background: var(--white-color);
                color: var(--black-color);
                font-size: 15px;
                font-weight: 400;
                line-height: 1;
                position: relative;
                overflow: hidden;
                transition: border-color 0.3s ease;

                &::before {
                    content: "";
                    position: absolute;
                    width: 0;
                    inset-block: -1px;
                    inset-inline-start: -1px;
                    z-index: 0;
                    transition: width 0.3s ease;
                    border-radius: 999px;
                    background-color: var(--yellow-color);
                }

                .banner-slide__btn-text {
                    position: relative;
                    z-index: 1;
                    font-size: 16px;
                    font-weight: 500;
                    color: inherit;
                    transition: color 0.3s ease;
                }

                &:hover {
                    border-color: var(--yellow-color);

                    .banner-slide__btn-text {
                        color: var(--white-color);
                    }

                    &::before {
                        width: calc(100% + 2px);
                    }
                }

                &.banner-slide__btn--primary {
                    border-color: var(--yellow-color);
                    background: var(--yellow-color);
                    color: var(--white-color);

                    &::before {
                        background-color: var(--white-color);
                    }

                    &:hover {
                        border-color: rgba(0, 0, 0, 0.1);
                        background: var(--white-color);

                        .banner-slide__btn-text {
                            color: var(--black-color);
                        }
                    }
                }
            }
        }

        .home-banner-pagination {
            bottom: 28px;
            z-index: 3;
            gap: 8px;

            .swiper-pagination-bullet {
                width: 8px;
                height: 8px;
                margin: 0 !important;
                background: rgba(255, 255, 255, 0.45);
                opacity: 1;
                border: none;
                border-radius: 50%;
                transition: width 0.3s ease, background 0.3s ease;
            }

            .swiper-pagination-bullet-active {
                width: 28px;
                border-radius: 999px;
                background: var(--yellow-color);
                border: none;
            }
        }
    }
}

/* .main-container:has(.main-header.is-collapsed) .home-banner-section .home-banner-swiper .swiper-slide {
    height: calc(100vh - 82px);
} */
/* Banner輪播-end */

/* 平台三個優點-start */
.advantage-section {
    padding-top: 24px;
    padding-bottom: 0;
    position: relative;

    .advantage-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
        position: relative;
        z-index: 2;
    }

    .advantage-card {
        position: relative;
        padding-bottom: 10px;
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);

        &:hover {
            transform: translateY(-6px);

            .advantage-card__visual img {
                transform: scale(1.08);
            }

            .advantage-card__icon {
                transform: rotate(-6deg) scale(1.06);
            }

            .advantage-card__title {
                color: var(--main-color);
            }
        }
    }

    .advantage-card__visual {
        position: relative;
        height: 250px;
        border-radius: 13px;
        overflow: hidden;
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);

        &::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.28) 100%);
            pointer-events: none;
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
        }
    }

    .advantage-card__index {
        position: absolute;
        top: 13px;
        right: 18px;
        z-index: 2;
        font-size: 50px;
        font-weight: 600;
        line-height: 1;
        letter-spacing: -0.04em;
        color: rgba(255, 255, 255, 0.42);
        pointer-events: none;
    }

    .advantage-card__panel {
        position: relative;
        margin: -80px 16px 0;
        padding: 20px 22px 22px;
        border-radius: 12px;
        background: linear-gradient(155deg, #ffffff 0%, #fbfdff 100%);
        border: 1px solid rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
        transition: box-shadow 0.4s ease;

        &::before {
            /* content: ""; */
            position: absolute;
            top: 18px;
            left: 0;
            width: 4px;
            height: calc(100% - 36px);
            border-radius: 0 4px 4px 0;
            background: linear-gradient(180deg, var(--yellow-color) 0%, var(--main-color) 100%);
        }
    }

    .advantage-card__head {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 15px;
        padding-left: 8px;
    }

    .advantage-card__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        flex-shrink: 0;
        border-radius: 0px;
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);

        img {
            width: 28px;
            height: 28px;
            object-fit: contain;
            display: block;
        }
    }

    .advantage-card__title {
        margin: 0;
        font-size: 20px;
        font-weight: 500;
        line-height: 1.35;
        color: var(--black-color);
        transition: color 0.3s ease;
    }

    .advantage-card__desc {
        margin: 0;
        padding-left: 8px;
        font-size: 15px;
        font-weight: 400;
        line-height: 1.75;
        color: #4f5d6f;
        word-break: break-word;
    }
}

/* 平台三個優點-end */

/* 商品分類-start */
.category-section {
    padding: 80px 0 80px 0;
}

.category-showcase-swiper-wrap {
    position: relative;
}

.category-showcase-swiper {
    position: relative;
    padding-bottom: 40px;
    overflow: hidden;

    .swiper-slide {
        height: auto;
    }

    .category-showcase-pagination {
        bottom: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;

        .swiper-pagination-bullet {
            width: 8px;
            height: 8px;
            margin: 0 !important;
            background: var(--main-color);
            opacity: 1;
            border: none;
            border-radius: 50%;
            transition: width 0.3s ease, background 0.3s ease;
        }

        .swiper-pagination-bullet-active {
            width: 28px;
            border-radius: 999px;
            background: var(--yellow-color);
            border: none;
        }
    }
}

.category-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(0, 211px));
    gap: 10px;
}

.category-showcase__quad {
    grid-row: span 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-height: 0;

    .category-panel--mini:nth-child(1) {
        border-radius: 20px 0 0 0;
    }

    .category-panel--mini:nth-child(2) {
        border-radius: 0 20px 0 0;
    }

    .category-panel--mini:nth-child(3) {
        border-radius: 0 0 0 20px;
    }

    .category-panel--mini:nth-child(4) {
        border-radius: 0 0 20px 0;
    }
}

.category-panel {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    color: var(--black-color);
    transition: box-shadow 0.35s ease, transform 0.35s ease;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.6s ease;
    }

    &::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0) 35%, rgba(15, 23, 42, 0.55) 100%);
        opacity: 0.85;
        transition: opacity 0.35s ease;
        pointer-events: none;
    }

    &:hover {
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
        transform: translateY(-2px);

        img {
            transform: scale(1.06);
        }

        &::after {
            opacity: 1;
        }

        .category-panel__title {
            color: #b8e4ff;
        }

        .category-panel__desc {
            color: rgba(255, 255, 255, 0.95);
        }
    }

    &.category-panel--mini {
        /* aspect-ratio: 225/211; */
        img {
            aspect-ratio: 225/211;
        }
    }

    &.category-panel--tall {
        /* aspect-ratio: 115/108; */
        img {
            aspect-ratio: 115/108;
        }
    }
    
    &.category-panel--short {
        /* aspect-ratio: 460/211; */
        img {
            aspect-ratio: 460/211;
        }
    }
}

.category-panel--mini {
    min-height: 0;
    border-radius: 16px;

    .category-panel__content {
        padding: 12px 14px;
    }

    .category-panel__title {
        font-size: 17px;
    }
}

.category-panel--tall {
    grid-row: span 2;
    border-radius: 20px;
}

.category-panel--short {
    border-radius: 20px;
}

.category-panel__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-panel__title {
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.02em;
    color: #fff;
    word-break: break-word;
    transition: color 0.3s ease;
}

.category-panel__desc {
    display: block;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    word-break: break-word;
    transition: color 0.3s ease;
}

/* 商品分類-end */

/* 限時優惠與商品卡-start */
.flash-sale-section {
    padding: 0;
}

.flash-sale-panel {
    width: 100%;
    padding: 70px 0 64px 0;
    background: linear-gradient(120deg, #e9f5fc 0%, #d9eefb 45%, #eef7fd 100%);
    position: relative;
    overflow: hidden;

    &::before {
        content: "";
        position: absolute;
        top: -80px;
        right: 18%;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.45);
        pointer-events: none;
    }

    &::after {
        content: "";
        position: absolute;
        bottom: -120px;
        left: 8%;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.28);
        pointer-events: none;
    }
}

.flash-sale-panel__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.flash-sale-panel__left {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.flash-sale-panel__title {
    margin: 0 0 20px;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.28;
    letter-spacing: -0.02em;
    color: var(--black-color);
}

.flash-sale-panel__countdown-label {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(24, 24, 24, 0.72);
}

@keyframes flash-countdown-colon-pulse {
    0%, 100% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0.28;
        transform: translateY(-1px);
    }
}

.flash-sale-countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 28px;
    padding: 10px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 28px rgba(30, 140, 230, 0.1);
    backdrop-filter: blur(10px);
}

.flash-sale-countdown__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 62px;
    padding: 10px 10px 8px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(24, 24, 24, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.flash-sale-countdown:hover .flash-sale-countdown__item {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(30, 140, 230, 0.12);
}

.flash-sale-countdown__digit {
    display: block;
    min-width: 2ch;
    font-size: 38px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: var(--main-color);
    letter-spacing: 0.04em;
    transition: transform 0.2s ease, color 0.2s ease;
}

.flash-sale-countdown__unit {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: rgba(24, 24, 24, 0.42);
}

.flash-sale-countdown__colon {
    align-self: flex-start;
    margin: 14px 2px 0;
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
    color: var(--main-color);
    animation: flash-countdown-colon-pulse 1.15s ease-in-out infinite;
}

.flash-sale-panel__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 48px;
    padding: 0 32px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(30, 140, 230, 0.22);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;

    .flash-sale-panel__btn-text {
        position: relative;
        z-index: 1;
        font-size: 16px;
        font-weight: 600;
        color: inherit;
        transition: color 0.3s ease;
    }

    &.flash-sale-panel__btn--primary {
        background: var(--main-color);
        border-color: var(--main-color);
        color: var(--white-color);

        &::before {
            content: "";
            position: absolute;
            width: 0;
            inset-block: -1px;
            inset-inline-start: -1px;
            z-index: 0;
            transition: width 0.3s ease;
            border-radius: 999px;
            background-color: var(--white-color);
        }

        &:hover {
            box-shadow: 0 12px 28px rgba(30, 140, 230, 0.28);

            .flash-sale-panel__btn-text {
                color: var(--main-color);
            }

            &::before {
                width: calc(100% + 2px);
            }
        }
    }
}

.flash-sale-panel__right {
    position: relative;
    z-index: 1;
    min-width: 0;
    overflow: hidden;
}

.flash-sale-swiper {
    overflow: hidden;
    padding-left: 2px;

    .swiper-slide {
        height: auto;
    }

    .product-card {
        height: 100%;

        .product-card__media,
        .product-card__thumb {
            background: transparent;
        }

        .product-card__img {
            padding: 0;
        }
    }
}

.flash-sale-swiper__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;

    .flash-sale-prev,
    .flash-sale-next {
        width: 44px;
        height: 44px;
        border: none;
        border-radius: 50%;
        background: var(--white-color);
        color: var(--black-color);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        /* box-shadow: 0 6px 18px rgba(30, 140, 230, 0.12); */
        transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;

        svg {
            width: 22px;
            height: 22px;
        }

        &:hover {
            background: var(--main-color);
            color: var(--white-color);
            transform: translateY(-2px);
        }
    }
}

/* 限時優惠與商品卡-end */

/* 熱賣產品-start */
.hot-product-section {
    /* background: rgba(232, 241, 247, 0.3); */

    .swiper-button-prev:after,
    .swiper-button-next:after {
        display: none;
    }

    .swiper-button-prev {
        left: -30px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 56px;
        height: 56px;
    }

    .swiper-button-prev {
        left: -22px;
    }

    .swiper-button-next {
        right: -72px;
    }

    .swiper-button-prev svg,
    .swiper-button-next svg {
        width: 56px;
        height: 56px;

        &:hover {
            path {
                fill: var(--yellow-color);
            }
        }
    }
}

.hot-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hot-product-swiper {
    position: relative;
    padding-bottom: 36px;

    .hot-product-pagination {
        bottom: 0;
        z-index: 2;
        gap: 8px;

        .swiper-pagination-bullet {
            width: 8px;
            height: 8px;
            margin: 0 !important;
            background: var(--main-color);
            opacity: 1;
            border: none;
            border-radius: 50%;
            transition: width 0.3s ease, background 0.3s ease;
        }

        .swiper-pagination-bullet-active {
            width: 28px;
            border-radius: 999px;
            background: var(--yellow-color);
            border: none;
        }
    }
}

.hot-product-swiper .swiper-button-prev,
.hot-product-swiper .swiper-button-next {
    color: var(--main-color);
}

.hot-product-swiper .product-card__badges {
    top: 25px;
    left: calc(var(--product-card-brand-logo-width) + 13px);
}

/* 熱賣產品-end */

/* 甄選品牌-start */
.brand-section {}

.brand-scroll-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.brand-scroll-wrap::-webkit-scrollbar {
    display: none;
}

.brand-scroll-wrap.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.brand-scroll-wrap.is-dragging .brand-item {
    pointer-events: none;
}

.brand-row {
    display: flex;
    flex-shrink: 0;
    gap: 20px;
    width: max-content;
}

.brand-item {
    flex: 0 0 200px;
    height: 200px;
    position: relative;
    display: block;
    color: var(--black-color);
    box-shadow: 0 4px 14px rgba(30, 140, 230, 0.08);
    border-radius: 11px;
    overflow: hidden;
    transition: transform 0.35s ease;
}

.brand-item__thumb {
    /* height: 100%; */
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 2s ease;
    }

    &:hover {
        img {
            transform: scale(1.1);
        }
    }
}

.brand-item__name {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    max-width: calc(100% - 24px);
    padding: 12px 45px 12px 12px;
    border-radius: 0 16px 0 0;
    background: #ffffff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--black-color);
    transition: color 0.3s ease;

    /* 左上角反圆角：需 content + 尺寸 + box-shadow 才可见 */
    &::before {
        content: "";
        position: absolute;
        background-color: transparent;
        top: -40px;
        left: 0;
        bottom: auto;
        width: 20px;
        height: 40px;
        box-shadow: 0 18px 0 0 #ffffff;
        border-radius: 0;
        border-bottom-left-radius: 20px;
        z-index: -1;
    }

    &::after {
        content: "";
        position: absolute;
        background-color: transparent;
        right: -19px;
        bottom: 0;
        width: 20px;
        height: 40px;
        box-shadow: 0 18px 0 0 #ffffff;
        border-radius: 0;
        border-bottom-left-radius: 20px;
    }
}

.brand-item:hover .brand-item__name {
    color: var(--main-color);
}

/* 甄選品牌-end */

/* CTA Banner-start */
.cta-section {
    /* background: linear-gradient(180deg, #fdf8f1 0%, #fffefb 100%); */
    position: relative;
    overflow: hidden;

    background: linear-gradient(120deg, #f2faff 0%, #fcfcfc 30%, #fdfeff 100%);

    &::before {
        content: "";
        position: absolute;
        top: -80px;
        left: -40px;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(255, 168, 50, 0.1);
        pointer-events: none;
    }

    &::after {
        content: "";
        position: absolute;
        bottom: -100px;
        right: -60px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(30, 140, 230, 0.06);
        pointer-events: none;
    }

    .my-container {
        position: relative;
        z-index: 1;
    }
}

.cta-promo-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 28px;

    .section-title {
        margin: 0;
        max-width: 100%;
        padding: 0 8px 8px;
        text-align: center;
    }

    .section-sub-title {
        margin: 0;
        padding-bottom: 0;
        text-align: center;
        max-width: 560px;
    }
}

.cta-promo-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--white-color);
    color: var(--black-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;

    &:hover {
        background: var(--yellow-color);
        border-color: var(--yellow-color);
        color: var(--white-color);
        transform: translateY(-2px);
    }
}

.cta-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 180px 180px 150px;
    gap: 12px;
}

.cta-banner {
    position: relative;
    display: block;
    height: 100%;
    min-height: 0;
    border-radius: 16px;
    overflow: hidden;
    /* background: var(--white-color);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05); */
    color: inherit;
    text-decoration: none;

    img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
        transition: transform 2s ease;
    }

    &:hover {
        img {
            transform: scale(1.06);
        }
    }

    &.cta-banner--featured {
        grid-column: 1;
        grid-row: 1 / 4;

        .cta-banner__search {
            padding: 18px;

            .search-icon-wrapper {
                width: 56px;
                height: 56px;

                svg {
                    width: 28px;
                    height: 28px;
                    color: #ffffff;
                }
            }
        }
    }

    &.cta-banner--wide {
        grid-column: 2 / 4;
        grid-row: 3;
    }

    .cta-banner__search {
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: 1;
        background-color: #ffffff;
        padding: 8px;
        border-radius: 16px 0 0 0;

        .search-icon-wrapper {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background: var(--yellow-color);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;

            svg {
                width: 22px;
                height: 22px;
                color: #ffffff;
            }
        }

        &::before {
            content: "";
            position: absolute;
            background-color: transparent;
            top: -40px;
            right: -2px;
            bottom: auto;
            width: 20px;
            height: 40px;
            box-shadow: 0 12px 0 0 #ffffff;
            border-radius: 0;
            border-bottom-right-radius: 20px;
            z-index: -1;
        }

        &::after {
            content: "";
            position: absolute;
            background-color: transparent;
            left: -19px;
            bottom: 0;
            width: 20px;
            height: 40px;
            box-shadow: 0 18px 0 0 #ffffff;
            border-radius: 0;
            border-bottom-right-radius: 20px;
        }
    }
}

/* CTA Banner-end */

/* 客戶評價-start */

.review-layout {
    min-height: 490px;
    display: grid;
    grid-template-columns: 410px minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

.review-stats {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 40px;
    border-radius: 24px;
    background: linear-gradient(160deg, #1e8ce6a2 0%, #1e8ce6 50%, var(--deep-blue-color) 100%);
    color: var(--white-color);

    .review-stats__icon {
        width: 50px;
        height: 50px;
        margin-bottom: 24px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.16);
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 0;

        svg {
            width: 36px;
            height: 36px;
            color: var(--yellow-color);
        }
    }

    .review-stats__number {
        margin: 0 0 8px;
        font-size: clamp(34px, 3.2vw, 44px);
        font-weight: 600;
        line-height: 1.1;
        letter-spacing: -0.02em;
    }

    .review-stats__label {
        margin: 0;
        font-size: clamp(14px, 1.4vw, 20px);
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.82);
    }

    .review-stats__divider {
        width: 100%;
        height: 1px;
        margin: auto 0 20px;
        background: rgba(255, 255, 255, 0.18);
    }

    .review-stats__footer {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .review-stats__avatars {
        display: flex;
        align-items: center;
    }

    .review-stats__avatar {
        width: 42px;
        height: 42px;
        margin-left: -10px;
        border-radius: 50%;
        border: 2px solid var(--yellow-color);
        overflow: hidden;
        background: rgba(255, 255, 255, 1);
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;

        &:first-child {
            margin-left: 0;
        }

        img {
            width: 28px;
            height: 28px;
            object-fit: cover;
            display: block;
        }

        &.review-stats__avatar--more {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 500;
            color: var(--yellow-color);
        }
    }

    .review-stats__note {
        margin: 0;
        font-size: clamp(12px, 1.2vw, 17px);
        line-height: 1.55;
        color: rgba(255, 255, 255, 0.8);
    }
}

.review-panel {
    position: relative;
    min-height: 100%;
    border-radius: 24px;
    /* 漸變黃色背景 */
    background: linear-gradient(160deg, #f8bc2465 0%, #f8bc24c0 60%, #f8bc247e 100%);
    overflow: hidden;
}

.review-swiper {
    height: 100%;

    .swiper-slide {
        height: auto;
    }
}

.review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 50px;
    text-align: left;

    .review-card__head {
        position: relative;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 22px;

        .quotes-icon {
            width: 120px;
            height: 120px;
            position: absolute;
            top: -58px;
            right: -48px;
        }
    }

    .review-card__stars {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 7px 10px;
        border-radius: 6px;
        background: var(--white-color);
        line-height: 0;
        box-shadow: 0 4px 14px rgba(30, 140, 230, 0.08);

        .review-card__star {
            width: 16px;
            height: 16px;
            display: block;
            color: var(--yellow-color);
        }
    }

    .review-card__quote-mark {
        width: clamp(56px, 8vw, 88px);
        height: clamp(56px, 8vw, 88px);
        flex-shrink: 0;
        color: rgba(30, 140, 230, 0.12);
        pointer-events: none;
    }

    .review-card__content {
        position: relative;
        z-index: 1;
        flex: 1;
        margin: 0;
        padding-right: 12px;
        padding-top: 100px;
        font-size: clamp(16px, 1.7vw, 20px);
        font-weight: 600;
        line-height: 1.7;
        color: rgba(24, 24, 24, 0.88);
        white-space: normal;
        word-break: break-word;
    }

    .review-card__divider {
        width: 100%;
        height: 1px;
        margin: 28px 0 20px;
        background: rgba(24, 24, 24, 0.1);
    }

    .review-card__footer {
        display: flex;
        align-items: center;
        padding-right: 112px;
    }

    .review-card__author {
        border-radius: 50%;
        display: flex;
        align-items: center;
        gap: 14px;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;

        .avatar1-wrapper {
            width: 50px;
            height: 50px;
            position: relative;
            background-color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .review-card__avatar {
            width: 42px;
            height: 42px;
            position: relative;

            &::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: calc(100% + 12px);
                height: calc(100% + 12px);
                background: #ffffff;
                border-radius: 50%;
                border: 2px solid #ffffff;
                z-index: 1;
            }
        }
    }

    .review-card__avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
        background: var(--white-color);
    }

    .review-card__author-info {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }

    .review-card__name {
        font-size: clamp(16px, 1.5vw, 20px);
        font-weight: 600;
        line-height: 1.3;
        color: var(--black-color);
    }

    .review-card__meta {
        font-size: clamp(14px, 1.2vw, 17px);
        line-height: 1.4;
        color: rgba(24, 24, 24, 0.58);
    }
}

.review-panel__nav {
    position: absolute;
    right: 32px;
    bottom: 24px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;

    .review-prev,
    .review-next {
        width: 50px;
        height: 50px;
        border: none;
        border-radius: 50%;
        background: transparent;
        border: 1px solid rgba(0, 0, 0, 0.1);
        color: var(--black-color);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;

        svg {
            width: 22px;
            height: 22px;
        }

        &:hover {
            background: var(--main-color);
            color: var(--white-color);
            transform: translateY(-1px);
        }
    }
}

/* 客戶評價-end */

/* 優惠速遞-start */
.article-section {
    /* background: rgba(33, 150, 243, 0.06); */
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.article-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: var(--white-color);
    color: var(--black-color);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid rgba(30, 140, 230, 0.1);

    &:hover {
        .article-card__thumb {
            img {
                transform: scale(1.05);
            }
        }

        .article-card__more img {
            transform: rotate(0) translate(2px, -2px);
        }

        .article-card__title {
            color: var(--main-color);
        }
    }
}

.article-card:hover {
    transform: translateY(-4px);
    color: var(--black-color);
}

.article-card__thumb {
    position: relative;
    height: 310px;
    overflow: hidden;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 16px 16px 0 0;
        transition: transform 0.35s ease;
    }
}

.article-card__date {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    min-width: 58px;
    padding: 10px 12px 12px;
    border-radius: 0 40px 40px 40px;
    background: var(--yellow-color);
    color: var(--white-color);
    text-align: center;
}

.article-card__date-day {
    display: block;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.1;
}

.article-card__date-month {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

.article-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
}

.article-card__title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--black-color);
}

.article-card__excerpt {
    margin: 0 0 30px;
    font-size: 15px;
    line-height: 1.7;
    color: #5a6472;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.article-card__more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 500;
    color: var(--yellow-color);

    img {
        width: 16px;
        height: 16px;
        transform: rotate(-45deg);
        transition: transform 0.35s ease;
    }
}

/* 優惠速遞-end */

/* .main-header {
    background-color: transparent;
    backdrop-filter: blur(2px);
} */