﻿.breadcrumb-div {
    width: 100vw; /* 讓區塊填滿整個視窗 */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 1px 0; /* 適當的內邊距 */
}
h1 {
    font-size: 50px;
    line-height: 55px
}

/*最上方主圖標題*/
h2 {
    font-size: 33px;
    line-height: 35px
}

h3 {
    font-size: 25px;
    line-height: 30px
}

.page-title {
    font-size: 40px;
}
.web-img-title {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.web-img-title::before {
    background: #000;
    opacity: 1;
    width: 100%;
    height: 120%;
    clip-path: polygon(0 0, 100% 0, 100% 50px, 0 100%);
}

.web-img-title::after {
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    content: "";
    background-image: url('../../images/aoruspoint/pointsandrewards-top-img-1.jpg');
    width: 100%;
    height: 120%;
    background-position: top center;
    background-size: cover;
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0 100%);
}
.bg-rewards {
    padding-top: 60px;
    padding-bottom: 60px;
}
.container {
    max-width: 100% !important;
    padding-left: 0;
    padding-right: 0;
}
    .bg-rewards::before {
        position: absolute;
        z-index: -1;
        left: 0;
        top: -12%;
        content: "";
        background: #000;
        width: 100%;
        height: 120%;
        clip-path: polygon(0 0, 100% 50px, 100% calc(100% - 50px), 0% 100%);
    }

    .bg-rewards::after {
        position: absolute;
        z-index: -1;
        left: 0;
        top: -12%;
        content: "";
        background-image: url('../../images/aoruspoint/pointsandrewards-bg.jpg');
        width: 100%;
        height: 120%;
        background-position: center center;
        background-size: cover;
        opacity: 0.4;
        clip-path: polygon(0 0, 100% 50px, 100% calc(100% - 50px), 0% 100%);
    }

.bg-calculation {
    padding-top: 60px;
    padding-bottom: 200px;
}

    .bg-calculation::before {
        position: absolute;
        z-index: -1;
        left: 0;
        top: -60px;
        content: "";
        background: #000;
        width: 100%;
        height: 100%;
        clip-path: polygon(0 50px, 100% 0, 100% calc(100% - 50px), 0% 100%);
    }

    .bg-calculation::after {
        position: absolute;
        z-index: -1;
        left: 0;
        top: -60px;
        content: "";
        background-image: url('../../images/aoruspoint/pointsandrewards-bg.jpg');
        width: 100%;
        height: 100%;
        background-position: center center;
        background-size: cover;
        opacity: 0.4;
        clip-path: polygon(0 50px, 100% 0, 100% calc(100% - 50px), 0% 100%);
    }


.box-5 {
    position: relative;
    float: left;
    width: 20%;
    min-height: 200px;
    padding: 15px;
}

.customNextBtn, .customPrevBtn {
    position: absolute;
    z-index: 1;
    width: 45px;
    height: 70px;
    text-align: center;
    line-height: 65px;
    background: rgba(255, 255, 255, 0.1);
    top: 45%;
    font-size: 35px;
    cursor: pointer;
}

    .customNextBtn:hover, .customPrevBtn:hover {
        background: rgba(255, 100, 0, 0.5);
    }

.customNextBtn {
    left: 0;
}

.customPrevBtn {
    right: 0;
}

.owl-carousel .item {
    background: #000;
    padding: 10px;
    cursor: pointer;
}

.underline span {
    position: relative;
    background: #1c1c1c;
}

.underline::after {
    position: absolute;
    z-index: -1;
    content: "";
    height: 2px;
    width: 100%;
    left: 0;
    top: 14px;
    background: #fff;
}

.calculation-box {
    font-size: 18px;
    line-height: 30px;
    cursor: pointer;
}

    .calculation-box span:nth-child(1) {
        position: relative;
        display: inline-block;
        height: 30px;
        width: 30px;
        line-height: 30px;
        text-align: center;
        background: #111;
        margin-left: 15px;
        margin-bottom: 10px;
    }

    .calculation-box span:nth-child(2) {
        position: relative;
        display: inline-block;
        height: 30px;
        width: auto;
        margin-left: 15px;
        line-height: 30px;
    }

    .calculation-box span:nth-child(3) {
        position: relative;
        float: right;
        height: 30px;
        /* width: 200px; */
        line-height: 30px;
        text-align: right;
        margin: 0 15px;
    }

.sub-calculation-box {
    position: relative;
    width: 100%;
    height: auto;
    background: #111;
}

    .sub-calculation-box table {
        width: 100%;
        min-width: 700px;
    }

        .sub-calculation-box table thead tr th, .sub-calculation-box table tbody tr td {
            padding: 10px;
        }

        .sub-calculation-box table thead tr th {
            font-size: 20px;
            padding: 20px 10px;
            background: #222;
            color: #ccc;
        }

        .sub-calculation-box table tbody tr:nth-child(2n) {
            background: #111;
        }

        .sub-calculation-box table tbody tr:nth-child(2n-1) {
            background: #000;
        }

        .sub-calculation-box table tbody tr td {
            text-align: center;
            font-family: 'Roboto', 'Microsoft JhengHei', sans-serif;
            color: #999;
            font-size: 18px;
        }

            .sub-calculation-box table tbody tr td:nth-child(2) {
                text-align: left;
            }

.window-box {
    width: 1000px;
    margin: 50px auto;
    min-height: auto;
}

.product-table {
    width: 100%;
}

.product-table-head {
    background: #ff6400;
}

.product-table-head-flex {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.product-table-head-item {
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Aldrich', 'Microsoft JhengHei', sans-serif;
    text-align: left;
    background: #ff6400;
    width: 300px;
    display: flex;
    align-items: center;
}

    .product-table-head-item:nth-child(1) {
        width: 31%;
    }

    .product-table-head-item:nth-child(2) {
        width: 30%;
    }

    .product-table-head-item:nth-child(3) {
        justify-content: flex-end;
        margin-left: 8.5%;
    }

.product {
    display: flex;
    width: 100%;
}

    .product:nth-child(odd) {
        background: #111;
    }

.product-width {
    width: 80%;
}

.product-name {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 18px;
    width: 35%;
}

.product-point-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 18px;
    border-bottom: 1px solid #444;
}

    .product-point-item:last-child {
        border-bottom: none;
    }

.product-point-single-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 18px;
}


.item-point {
    width: 58px;
    display: flex;
    justify-content: center;
}

.item-range-point {
    width: 75px;
    display: flex;
    justify-content: center;
}



.product-table thead {
    background: #ff6400;
}

.product-table th:nth-child(1) {
    width: 300px;
}

.product-table td,
.product-table th {
    padding: 10px 20px;
    font-size: 18px;
}

.product-table tr th:nth-last-child(1),
.product-table tr td:nth-last-child(1) {
    text-align: center;
}

.td-border {
    border-bottom: 1px solid #444;
}

@media (max-width: 990px) {
    .web-img-title::before {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%);
    }

    .web-img-title::after {
        position: absolute;
        z-index: -1;
        left: 0;
        top: 0;
        content: "";
        background-image: url('../../images/level/membershiplevels-top-img-2.jpg');
        width: 100%;
        height: 110%;
        background-position: top center;
        background-size: cover;
        opacity: 0.5;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }

    .box-5 {
        width: 50%;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .box-5 {
        width: 100%;
        padding: 10px;
    }
}
.reward-container {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
}

.reward-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    scrollbar-width: none; /* 隱藏滾動條 */
    -ms-overflow-style: none; /* IE 隱藏滾動條 */
    padding: 10px;
    transition: transform 0.5s ease-in-out;
}

    .reward-list::-webkit-scrollbar {
        display: none; /* 隱藏滾動條 */
    }

.reward-item {
    flex: 0 0 calc(33.33% - 20px); /* 每個 item 佔 1/3 頁面 */
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #222, #111);
    padding: 20px;
    text-align: center;
    min-width: calc(33.33% - 20px);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 165, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

    .reward-item:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(255, 165, 0, 0.5);
    }

    .reward-item img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        object-fit: cover;
    }

/* 左右按鈕 */
.scroll-left, .scroll-right {
    background-color: rgba(255, 165, 0, 0.8);
    color: white;
    border: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
    transition: background 0.3s ease;
}

    .scroll-left:hover, .scroll-right:hover {
        background-color: rgba(255, 140, 0, 1);
    }

.scroll-left {
    left: -10px;
}

.scroll-right {
    right: -10px;
}

/* 圓形指示器 */
.indicator-container {
    text-align: center;
    margin-top: 15px;
}

.indicator {
    width: 10px;
    height: 10px;
    background: #555;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: background 0.3s ease;
}

    .indicator.active {
        background: orange;
    }
.window-box-cover {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex; /* ✅ 關鍵：使用 Flexbox */
    justify-content: center; /* 左右置中 */
    align-items: center; /* 上下置中 */
    padding: 20px;
    overflow: hidden;
}

.window-box {
    width: 700px;
    max-width: 95%;
    max-height: 90vh;
    background: #424242;
    border-radius: 6px;
    padding: 20px;
    overflow-y: auto; /* ✅ 內容太多會出現捲軸 */
}


