/* 20260810 減碳兌換的css ↓ */

/* 減碳兌換頁面 */
.coupon_main {
    margin: 50px 0;
}

.coupon_main .container {
    padding-right: 10px;
    padding-left: 10px;
}

/* 標題 */
.coupon_main .title_box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 15px;
}

.coupon_main .title_box img {
    width: 30px;
    margin-right: 10px;
    transform: translateY(-2px);
}

.coupon_main .title_box h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

/* 減碳兌換 */
.coupon_main .carbonReduction_box {
    background-color: #f4f7f0;
    border-radius: 20px;
    box-shadow: 2px 2px 2px #00000030;
    padding: 20px 10px;
    text-align: center;
    margin: 25px 0;
}

.coupon_main .carbonReduction_box .time_box {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 1.1rem;
}

.coupon_main .carbonReduction_box .text_box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 -5px;
    margin-top: 15px;
}

.coupon_main .carbonReduction_box .text_box .text {
    border-radius: 15px;
    box-shadow: 2px 2px 2px #00000030;
    /* padding: 15px 25px; */
    padding: 10px;
    margin: 0 5px;
    /* margin: 0 10px; */
    background-color: #f9bd46;
}

.coupon_main .carbonReduction_box .text_box .text:nth-child(2) {
    background-color: #2d7a47;
    color: #fff;
}

.coupon_main .carbonReduction_box .text_box .text p {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
}

.coupon_main .carbonReduction_box .text_box .text p span {
    font-size: 1.5rem;
    padding: 0 3px;
    font-weight: 800;
    letter-spacing: 0;
}

@media (min-width: 576px) {

    .coupon_main .carbonReduction_box .text_box .text {
        padding: 15px 25px;
        margin: 0 10px;
    }

    .coupon_main .carbonReduction_box .text_box .text p {
        font-size: 1.15rem;
    }
}

@media (min-width: 992px) {

    .coupon_main .carbonReduction_box .time_box {
        font-size: 1.2rem;
    }

    .coupon_main .carbonReduction_box .text_box .text {
        padding: 20px 50px;
        padding-top: 25px;
    }
}

/* 賽季成就 */
.coupon_main .achievement_box {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 2px 2px 2px #00000030;
    padding: 20px 10px;
    text-align: center;
    margin: 25px 0;
    border: 1px solid #00000010;
}

.coupon_main .achievement_box .total {
    margin: 0;
    margin-bottom: 5px;
    letter-spacing: 1px;

    display: flex;
    justify-content: flex-end;
}

.coupon_main .achievement_box .list {
    margin: 0;
    padding: 0;
    list-style: none;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.coupon_main .achievement_box .list li .num {
    margin: 0 10px;

    position: relative;
}

.coupon_main .achievement_box .list li.uncompleted .num {
    filter: saturate(0);
}

.coupon_main .achievement_box .list li .num::before {
    content: "";
    width: 16vw;
    height: 4px;
    background-color: #f7ac01;

    position: absolute;
    top: 62%;
    left: 95%;
}

.coupon_main .achievement_box .list li.completed .num::before {
    background-color: #4da86f;
}

.coupon_main .achievement_box .list li:nth-last-child(1) .num:before {
    content: none;
}

.coupon_main .achievement_box .list li .num img {
    width: 35px;
}

.coupon_main .achievement_box .list li p {
    margin: 0;
    margin-top: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #d18813;
}

.coupon_main .achievement_box .list li.completed p,
.coupon_main .achievement_box .list li.uncompleted p {
    color: #000;
}

.coupon_main .achievement_box .list li p span {
    font-size: 1.15rem;
    padding-right: 1px;
}

.coupon_main .achievement_box .text_box {
    display: inline-block;
    background-color: #f9bd46;
    border-radius: 50px;
    box-shadow: 2px 2px 2px #00000030;
    margin: 20px 0;
    margin-bottom: 10px;
    padding: 6px 22px;
    padding-bottom: 4px;
}

.coupon_main .achievement_box .text_box p {
    margin: 0;
    font-weight: 500;
    font-size: 1.1rem;
}

.coupon_main .achievement_box .text_box p img {
    width: 15px;
    margin-right: 5px;
    transform: translateY(-2px);
}

/* 兌換商品 */
.coupon_main .redeem_box {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 2px 2px 2px #00000030;
    padding: 20px 10px;
    text-align: center;
    margin: 25px 0;
    border: 1px solid #00000010;
}

.coupon_main .redeem_box .title_box {
    justify-content: space-between;
    align-items: center;
}

.coupon_main .redeem_box .title_box div {
    display: flex;
    align-items: center;
}

.coupon_main .redeem_box .title_box .redeemed_btn {
    border: 1px solid #2d7a47;
    color: #2d7a47;
    background-color: #fff;
    box-shadow: 2px 2px 2px #00000030;
    border-radius: 20px;
    padding: 0 12px;
    padding-top: 3px;

    display: flex;

    transition: 0.3s;
}

.coupon_main .redeem_box .title_box .redeemed_btn:hover {
    background-color: #e8f2db;
}

.coupon_main .redeem_box .title_box .redeemed_btn img {
    width: 20px;
    margin-right: 5px;
}

.coupon_main .redeem_box .title_box .redeemed_btn p {
    margin: 0;
}

.coupon_main .redeem_box .tab_box {
    padding: 0;
    margin: 0;
    margin-bottom: 5px;
    list-style: none;

    display: flex;
    align-items: center;
    justify-content: center;
}

.coupon_main .redeem_box .tab_box li {
    margin: 5px 5px;
}

.coupon_main .redeem_box .tab_box li .tab_btn {
    border: 1px solid #2d7a47;
    background-color: #fff;
    box-shadow: 2px 2px 2px #00000030;
    border-radius: 20px;
    padding: 2px 15px;
    padding-top: 5px;

    transition: 0.3s;
}

.coupon_main .redeem_box .tab_box li .tab_btn:hover {
    background-color: #2d7a47;
    color: #fff;
}

.coupon_main .redeem_box .tab_box li .tab_btn.active {
    background-color: #2d7a47;
    color: #fff;
    font-weight: 600;
}

.coupon_main .redeem_box .coupon_list {
    padding: 0;
    margin: 0;
    margin-bottom: 15px;
    list-style: none;
}

.coupon_main .redeem_box .coupon_list li {
    padding: 10px 0;
}

.coupon_main .redeem_box .coupon_list li.redeemed {
    opacity: 0.5;
}

.coupon_main .redeem_box .coupon_list li .coupon_link {
    color: #000;
    text-decoration: none;
    border: 1px solid #2d7a47;
    border-radius: 20px;
    box-shadow: 2px 2px 2px #00000030;
    display: flex;

    transition: 0.3s;
}

.coupon_main .redeem_box .coupon_list li .coupon_link:hover {
    transform: scale(1.02);
    box-shadow: 2px 2px 5px #00000050;
}

.coupon_main .redeem_box .coupon_list li .coupon_link .img_box {
    border-radius: 20px 0 0 20px;
    overflow: hidden;

    flex-basis: 70px;
}

.coupon_main .redeem_box .coupon_list li .coupon_link .img_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coupon_main .redeem_box .coupon_list li .coupon_link .title {
    flex-basis: calc(100% - 70px - 90px);
    padding: 10px 10px;
    padding-top: 15px;
    text-align: left;
}

.coupon_main .redeem_box .coupon_list li .coupon_link .title h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d7a47;
}

.coupon_main .redeem_box .coupon_list li .coupon_link .title p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 400;
}

.coupon_main .redeem_box .coupon_list li .coupon_link .quantity_box {
    flex-basis: 90px;
    padding: 10px;
    padding-top: 15px;
    padding-left: 0px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.coupon_main .redeem_box .coupon_list li .coupon_link .quantity_box p {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.coupon_main .redeem_box .coupon_list li .coupon_link .quantity_box p.quantity {
    display: inline-block;
    background-color: #2d7a47;
    color: #fff;
    border-radius: 30px;
    padding: 1px 10px;
    padding-top: 2px;
    font-size: 0.95rem;
    margin-bottom: 3px;

    display: flex;
    align-items: center;
}

.coupon_main .redeem_box .coupon_list li.redeemed .coupon_link .quantity_box p.quantity {
    background-color: #938989;
}

.coupon_main .redeem_box .coupon_list li .coupon_link .quantity_box p.quantity span {
    padding: 0 2px;
}

.coupon_main .redeem_box .coupon_list li .coupon_link .quantity_box p.quantity img {
    width: 12px;
    margin-right: 3px;
    transform: translateY(-1px);
}

.coupon_main .redeem_box .btn_box {
    margin: 10px 0;
    display: flex;
    justify-content: center;
}

.coupon_main .redeem_box .btn_box .more_btn {
    border: none;
    background-color: #f9e9cd;
    border-radius: 20px;
    box-shadow: 2px 2px 2px #00000030;
    padding: 2px 15px;
    padding-top: 5px;
    padding-left: 20px;

    display: flex;
}

.coupon_main .redeem_box .btn_box .more_btn p {
    margin: 0;
    font-size: 0.95rem;
}

.coupon_main .redeem_box .btn_box .more_btn img {
    width: 11px;
    margin-left: 8px;
    transform: translateY(-1px);
}

@media (min-width: 576px) {

    .coupon_main .achievement_box {
        padding: 20px 20px;
    }

    .coupon_main .achievement_box .total {
        font-weight: 600;
        padding-right: 10px;
        font-size: 1.1rem;
    }

    .coupon_main .achievement_box .list {
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .coupon_main .achievement_box .list li .num::before {
        width: 12vw;
    }

    .coupon_main .achievement_box .list li .num img {
        width: 55px;
    }

    .coupon_main .achievement_box .text_box {
        padding: 6px 32px;
        padding-bottom: 4px;
    }

    .coupon_main .redeem_box {
        padding: 20px;
    }

    .coupon_main .redeem_box .coupon_list li .coupon_link .img_box {
        flex-basis: 120px;
    }

    .coupon_main .redeem_box .coupon_list li .coupon_link .title {
        flex-basis: calc(100% - 110px - 90px);
        padding: 30px 10px;
        padding-top: 32px;
    }

    .coupon_main .redeem_box .coupon_list li .coupon_link .title h3 {
        margin-bottom: 3px;
    }
}

@media (min-width: 768px) {

    .coupon_main .carbonReduction_box .text_box .text {
        padding: 15px 45px;
    }

    .coupon_main .achievement_box .list li .num::before {
        width: 180%;
    }

    .coupon_main .redeem_box .coupon_list li .coupon_link .img_box {
        flex-basis: 30%;
    }

    .coupon_main .redeem_box .coupon_list li .coupon_link .title {
        padding: 15px 10px;
        padding-top: 20px;
        flex-basis: calc(100% - 30% - 90px);
    }

    .coupon_main .redeem_box .coupon_list li .coupon_link .title h3 {
        font-size: 1.25rem;
        margin-bottom: 5px;
    }

    .coupon_main .redeem_box .coupon_list li .coupon_link .title p {
        font-size: 1rem;
    }

    .coupon_main .redeem_box .coupon_list li .coupon_link .quantity_box {
        padding: 15px 10px;
        padding-top: 20px;
        padding-left: 0;
    }
}

@media (min-width: 992px) {

    .coupon_main .carbonReduction_box {
        padding: 30px 130px;
    }

    .coupon_main .achievement_box {
        padding: 30px 130px;
    }

    .coupon_main .redeem_box {
        padding: 30px 130px;
    }

    .coupon_main .redeem_box .title_box .redeemed_btn {
        padding: 2px 15px;
        padding-top: 5px;
    }

    .coupon_main .redeem_box .tab_box {
        margin-bottom: 10px;
    }

    .coupon_main .redeem_box .tab_box li {
        margin: 5px 10px;
    }

    .coupon_main .redeem_box .tab_box li .tab_btn {
        font-size: 1.1rem;
        padding: 2px 25px;
        padding-top: 5px;
    }

    .coupon_main .redeem_box .coupon_list li {
        padding: 15px 0;
    }

    .coupon_main .redeem_box .coupon_list li .coupon_link .quantity_box {
        padding: 15px 20px;
        padding-top: 20px;
    }

    .coupon_main .redeem_box .btn_box .more_btn {
        padding: 2px 25px;
        padding-top: 5px;
        padding-left: 30px;
    }

    .coupon_main .redeem_box .btn_box .more_btn p {
        font-size: 1.1rem;
    }
}

@media (min-width: 1200px) {

    .coupon_main .achievement_box .list {
        margin-bottom: 20px;
    }

    .coupon_main .achievement_box .list li .num img {
        width: 75px;
    }

    .coupon_main .redeem_box .tab_box {
        justify-content: flex-start;
        margin: 0 -10px;
    }

    .coupon_main .redeem_box .coupon_list li .coupon_link {
        align-items: center;
    }

    .coupon_main .redeem_box .coupon_list li .coupon_link .quantity_box p.quantity {
        font-size: 1.2rem;
    }

    .coupon_main .redeem_box .coupon_list li .coupon_link .quantity_box p {
        font-size: 0.9rem;
        margin-top: 3px;
    }
}

@media (min-width: 1400px) {

    .coupon_main .title_box h2 {
        font-size: 1.6rem;
    }

    .coupon_main .carbonReduction_box .text_box .text {
        padding: 20px 85px;
    }

    .coupon_main .redeem_box .tab_box li .tab_btn {
        font-size: 1.2rem;
    }

    .coupon_main .achievement_box .list li .num img {
        width: 86px;
    }

    .coupon_main .achievement_box .text_box {
        padding: 10px 42px;
        padding-bottom: 5px;
    }

    .coupon_main .achievement_box .text_box p {
        font-size: 1.2rem;
    }

    .coupon_main .redeem_box .title_box .redeemed_btn {
        font-size: 1.1rem;
    }
}


/* 減碳兌換 彈跳視窗 */
.welcome_modal .modal-backdrop {
    background-color: #fff;
}

.coupon_modal .modal-content {
    border: 1px solid #2d7a47;
    border-radius: 20px;
    box-shadow: 5px 5px 5px #00000030;
}

.coupon_modal .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coupon_modal h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 20px 0;
}

.coupon_modal .img_box {
    width: 110px;
    margin: 20px 0;
}

.coupon_modal .img_box img {
    width: 100%;
}

.coupon_modal .btn_box {
    margin: 20px 0;
}

.coupon_modal .btn_box button {
    background-color: #2d7a47;
    color: #fff;
    border: none;
    border-radius: 2px;
    padding: 3px 20px;
    padding-top: 5px;
    margin: 0 10px;

    letter-spacing: 1px;
    box-shadow: 2px 2px 2px #00000030;
    transition: 0.3s;
}

.coupon_modal .btn_box button.btn_never {
    background-color: #898989;
}

.coupon_modal .btn_box button:hover {
    opacity: 0.5;
}

@media (min-width: 992px) {

    .coupon_modal .btn_box button {
        font-size: 1.1rem;
        padding: 3px 30px;
        padding-top: 5px;
    }
}

/* 兌換明細頁 */
.RedeemedList {
    padding: 50px 0;
}

.RedeemedList::before {
    content: "";
    width: 100%;
    height: 100%;

    background-image: url(../img/img_bg.svg);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100%;

    position: absolute;
    bottom: 65px;
    left: 0;

    z-index: -1;
}

.RedeemedList::after {
    content: "";
    width: 80px;
    height: 80px;

    background-image: url(../img/mengo_icon.svg);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100%;

    position: absolute;
    bottom: 120px;
    right: 40px;

    z-index: -1;
}

.RedeemedList .container {
    padding-right: 10px;
    padding-left: 10px;
}

/* 標題 */
.RedeemedList .title_box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 25px;
}

.RedeemedList .title_box img {
    width: 30px;
    margin-right: 10px;
    transform: translateY(-2px);
}

.RedeemedList .title_box h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

/* 列表 */
.RedeemedList .coupon_list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.RedeemedList .coupon_list.web {
    display: none;
}

.RedeemedList .coupon_list li {
    padding: 20px 10px;
    border: 1px solid #898989;
    border-top: none;
    background-color: #ffffffea;
}

.RedeemedList .coupon_list li:nth-child(odd) {
    background-color: #f4f7f0eb;
}

.RedeemedList .coupon_list li.title {
    background-color: #2d7a47;
    border: 1px solid #2d7a47;

    padding: 8px 12px;
    padding-bottom: 6px;
}

.RedeemedList .coupon_list li.title div {
    display: flex;
    align-items: center;
}

.RedeemedList .coupon_list .title img {
    width: 20px;
    margin-right: 10px;
    transform: translateY(-1px);
}

.RedeemedList .coupon_list .title p {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.RedeemedList .coupon_list .coupon_link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.RedeemedList .coupon_list .coupon_link .img_box {
    flex-basis: 90px;
    border-radius: 10px;
    background-color: #000;
    overflow: hidden;
    box-shadow: 2px 2px 2px #00000030;
    height: 80px;
}

.RedeemedList .coupon_list .coupon_link .img_box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.RedeemedList .coupon_list .coupon_link .text_box {
    flex-basis: calc(100% - 90px);
    padding-left: 10px;
}

.RedeemedList .coupon_list .coupon_link .text_box h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #2d7a47;
    font-weight: 600;
    margin-bottom: 5px;
}

.RedeemedList .coupon_list .coupon_link .text_box p {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #000;
    font-weight: 400;
    margin-top: 3px;
}

.RedeemedList .coupon_list .coupon_link .text_box p span {
    display: flex;
}

.RedeemedList .coupon_list .coupon_link .text_box p span img {
    width: 14px;
    margin-right: 3px;
    transform: translateY(-1px);
}

@media (min-width: 576px) {

    .RedeemedList::after {
        bottom: 140px;
        right: 80px;
    }

    .RedeemedList .coupon_list li.title {
        padding: 8px 17px;
        padding-bottom: 6px;
    }

    .RedeemedList .coupon_list li {
        padding: 20px 15px;
    }

    .RedeemedList .coupon_list .coupon_link .img_box {
        flex-basis: 150px;
        height: 100px;

    }

    .RedeemedList .coupon_list .coupon_link .text_box {
        flex-basis: calc(100% - 150px);
        padding-left: 15px;
    }
}

@media (min-width: 768px) {

    .RedeemedList {
        position: relative;
        padding-bottom: 120px;
    }

    .RedeemedList::before {
        bottom: -20px;
    }

    .RedeemedList::after {
        bottom: 100px;
        right: 200px;
    }

    .RedeemedList .coupon_list li {
        padding: 30px 15px;
    }

    .RedeemedList .coupon_list .coupon_link .text_box h3 {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .RedeemedList .coupon_list .coupon_link .text_box p {
        font-size: 1rem;
    }

    .RedeemedList .coupon_list .coupon_link .text_box p span img {
        width: 16px;
        margin-right: 6px;
    }
}

@media (min-width: 992px) {

    .RedeemedList::before {
        bottom: -90px;
    }

    .RedeemedList::after {
        width: 100px;
        height: 100px;
        bottom: 40px;
    }

    .RedeemedList .title_box {
        padding-bottom: 30px;
    }

    .RedeemedList .coupon_list.rwd {
        display: none;
    }

    .RedeemedList .coupon_list.web {
        display: block;
    }

    .RedeemedList .coupon_list.web .title {
        display: flex;
    }

    .RedeemedList .coupon_list.web .img_title {
        flex-basis: 50%;
        display: flex;
        align-items: center;
    }

    .RedeemedList .coupon_list.web .img_title .text_box {
        flex-basis: calc(100% - 150px);
    }

    .RedeemedList .coupon_list.web .text_box {
        flex-basis: 25%;
        padding-left: 15px;
    }

    .RedeemedList .coupon_list.web .coupon_link .text_box p {
        font-size: 1.1rem;
    }

    .RedeemedList .coupon_list.web .coupon_link .text_box p span img {
        width: 18px;
        margin-right: 10px;
    }
}

@media (min-width: 1400px) {

    .RedeemedList {
        padding-bottom: 150px;
    }

    .RedeemedList::before {
        bottom: -150px;
    }

    .RedeemedList::after {
        width: 120px;
        height: 120px;
        bottom: 80px;
    }
}



/* 頁碼 */
.page_bg {
    position: relative;
    padding: 30px 0;
    text-align: center;
}

.page_box {
    margin: 0 -4px;
    padding: 0 0px;
    list-style: none;

    display: inline-block;
}

.page_box li {
    display: inline-block;
}

.page_box li a {
    display: inline-block;
    text-decoration: none;
    color: #231915 !important;
    border: 1px solid #9fa0a0;
    background-color: #fff;

    position: relative;
    transition: 0.3s;

    border-radius: 3px;
    padding: 2px 8px 1px 8px;
    margin: 3px 4px;
    font-size: 1rem;
}

.page_box li a:hover {
    background-color: #4da86f;
    border: 1px solid #4da86f;
    color: #fff !important;
}

.page_box li.active a {
    background-color: #4da86f;
    border: 1px solid #4da86f;
    color: #fff !important;
    font-weight: 800;
    box-shadow: 2px 2px 2px #00000030;
}

.page_box li.page.disabled a {
    border: none;
}

.page_box li.prev a,
.page_box li.next a {
    border: 1px solid #3a3a3a;
    background-color: #3a3a3a;
    color: #fff !important;
    font-weight: 800;
    font-size: 1.1rem;
    transform: scale(0.96) translateY(1px);
}

.page_box li.next a {
    transform: scale(0.94) translateY(2px);
}

@media (min-width: 768px) {

    .page_box {
        margin: 0 0px;
    }

    .page_box li a {
        padding: 4px 12px 3px 12px;
        margin: 0 8px;
        font-size: 1.1rem;
    }
}

/* 商品內頁 */
.couponMain .main {
    margin: 50px 0;
}

/* 商品圖 */
.couponMain .product_box .img_box {
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
    box-shadow: 2px 2px 2px #00000030;

    position: relative;
}

.couponMain .product_box .img_box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.couponMain .product_box .img_box .tag {
    position: absolute;
    top: 0;
    left: 0;

    background-color: #f9bd46;
    border-radius: 10px 0 10px 0;
    padding: 2px 18px;
    padding-top: 4px;
    font-weight: 400;
    font-size: 0.9rem;
}

/* 文字 */
.couponMain .product_box .text_box .text .kilogramTotal {
    display: inline-block;
    margin: 10px 0;
    color: #fff;
    background-color: #2d7a47;
    padding: 2px 18px;
    padding-top: 4px;
    box-shadow: 2px 2px 2px #00000030;
    border-radius: 20px;
    font-weight: 400;
}

.couponMain .product_box .text_box .text .kilogramTotal img {
    width: 15px;
    margin-right: 3px;
    transform: translateY(-1px);
}

.couponMain .product_box .text_box .text h2 {
    margin: 0;
    color: #2d7a47;
    font-weight: 600;
    padding: 0 2px;
    margin: 5px 0;
}

.couponMain .product_box .text_box .text p {
    margin: 3px 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.couponMain .product_box .text_box .text p img {
    width: 15px;
    margin-right: 5px;
    transform: translateY(-1px);
}

.couponMain .product_box .text_box .text p span {
    font-weight: 600;
    padding: 0 2px;
}

/* 按鈕 商品數量 */
.couponMain .product_box .text_box .btn_box {
    border-top: 1px dotted #000;
    margin-top: 10px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* 商品數量 */
.couponMain .product_box .text_box .btn_box .num_box {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 15px 0;
    width: 200px;
}

.couponMain .product_box .text_box .btn_box .num_box p {
    margin: 0;
    margin-right: 10px;
    font-weight: 500;
}

.couponMain .product_box .text_box .btn_box .num_box .num {
    display: flex;
    border-radius: 2px;
    overflow: hidden;
}

.couponMain .product_box .text_box .btn_box .num_box .num .num_btn {
    background-color: #898989;
    color: #fff;
    font-weight: 800;
    border: none;
    transition: 0.3s;
}

.couponMain .product_box .text_box .btn_box .num_box .num .num_btn:hover {
    opacity: 0.7;
}

.couponMain .product_box .text_box .btn_box .num_box .num .quantity_num {
    width: 50px;
    border-top: 1px solid #898989;
    border-bottom: 1px solid #898989;
    text-align: center;
    font-weight: 600;
}

/* 兌換按鈕 */
.couponMain .product_box .text_box .btn_box .redeemNow_btn {
    background-color: #f9bd46;
    box-shadow: 2px 2px 2px #00000030;
    padding: 2px 15px;
    padding-top: 4px;
    border: none;
    width: 180px;

    transition: 0.3s;
}

.couponMain .product_box .text_box .btn_box .redeemNow_btn:hover {
    background-color: #2d7a47;
    color: #fff;
}

/* 兌換彈跳視窗 */
.couponMain .redeemNow_modal .modal-dialog {
    max-width: 400px;
    margin: 0 auto;
    padding: 0 10px;
}

.couponMain .redeemNow_modal .modal-content {
    border: 1px solid #2d7a47;
    border-radius: 10px;
    box-shadow: 2px 2px 2px #00000030;
    padding: 12px;
}

.couponMain .redeemNow_modal .box {
    text-align: center;
}

.couponMain .redeemNow_modal .box h2 {
    margin: 10px 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.couponMain .redeemNow_modal .box .img_box {
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    width: 270px;
    height: 160px;
    box-shadow: 2px 2px 2px #00000030;
    margin: 0 auto;

    position: relative;
}

.couponMain .redeemNow_modal .box .img_box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.couponMain .redeemNow_modal .box .img_box .tag {
    position: absolute;
    top: 0;
    left: 0;

    background-color: #f9bd46;
    border-radius: 10px 0 10px 0;
    padding: 2px 18px;
    padding-top: 4px;
    font-weight: 400;
    font-size: 0.9rem;
}

.couponMain .redeemNow_modal .box .text_box {
    text-align: left;
    margin: 20px auto;
    max-width: 320px;
}

.couponMain .redeemNow_modal .box .text_box p {
    margin: 3px 0;
    font-size: 1rem;
    font-weight: 400;
}

.couponMain .redeemNow_modal .box .text_box p img {
    width: 12px;
    margin-right: 5px;
    transform: translateY(-1px);
}

.couponMain .redeemNow_modal .box .text_box p span {
    font-weight: 600;
    padding: 0 2px;
}

.couponMain .redeemNow_modal .close_confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.couponMain .redeemNow_modal .close_confirm button {
    border: none;
    background-color: #2d7a47;
    border-radius: 3px;
    box-shadow: 2px 2px 2px #00000010;
    color: #fff;
    padding: 2px 20px;
    padding-top: 4px;
    margin: 0 10px;
    font-size: 1.1rem;
    transition: 0.3s;
}

.couponMain .redeemNow_modal .close_confirm button:hover {
    opacity: 0.5;
}

.couponMain .redeemNow_modal .close_confirm .close_btn {
    background-color: #898989;
}

/* 商品詳細資訊 */
.couponMain .information_box {
    background-color: #f4f7f0;
    border-radius: 10px;
    box-shadow: 2px 2px 2px #00000030;
    margin-top: 30px;
    overflow: hidden;
}

.couponMain .information_box .title {
    background-color: #2d7a47;
    padding: 5px 20px;
    text-align: center;
}

.couponMain .information_box .title p {
    margin: 0;
    color: #fff;
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.couponMain .information_box .text {
    padding: 20px;
}

.couponMain .information_box .text p {
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.8rem;
}

@media (min-width: 576px) {

    .couponMain .product_box .img_box {
        height: 260px;
    }

    .couponMain .product_box .text_box .text .kilogramTotal {
        margin-top: 15px;
        letter-spacing: 1px;
    }

    .couponMain .redeemNow_modal .close_confirm button {
        padding: 2px 25px;
        padding-top: 4px;
    }
}

@media (min-width: 768px) {

    .couponMain .product_box {
        display: flex;
    }

    .couponMain .product_box .img_box {
        flex-basis: 50%;
        width: 100%;
    }

    .couponMain .product_box .text_box {
        flex-basis: 50%;
        padding-left: 15px;

        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .couponMain .product_box .text_box .text .kilogramTotal {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .couponMain .product_box .text_box .btn_box .num_box {
        margin: 10px 0;
    }
}

@media (min-width: 1200px) {

    .couponMain .product_box .img_box {
        flex-basis: 40%;
    }

    .couponMain .product_box .text_box {
        flex-basis: 60%;
    }

    .couponMain .product_box .text_box .text .kilogramTotal {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .couponMain .product_box .text_box .text p {
        font-size: 1.2rem;
        margin: 8px 0;
    }

    .couponMain .product_box .text_box .btn_box .num_box p {
        font-size: 1.1rem;
    }

    .couponMain .product_box .text_box .btn_box .redeemNow_btn {
        font-size: 1.2rem;
        padding-top: 6px;
        width: 188px;
    }

    .couponMain .information_box .title p {
        font-size: 1.3rem;
    }

    .couponMain .redeemNow_modal .modal-dialog {
        max-width: 480px;
    }

    .couponMain .redeemNow_modal .box .text_box {
        max-width: 380px;
    }

    .couponMain .redeemNow_modal .box h2 {
        font-size: 1.4rem;
    }

    .couponMain .redeemNow_modal .box .text_box p {
        font-size: 1.2rem;
    }

    .couponMain .redeemNow_modal .close_confirm button {
        font-size: 1.2rem;
        padding: 4px 40px;
        padding-top: 6px;
    }
}

/* 20260810 減碳兌換的css ↑ */


/* Cordova integration */
.crevent-state,
.crevent-empty {
    width: 100%;
    padding: 60px 15px;
    color: #586b61;
    font-size: 18px;
    text-align: center;
}

.coupon_modal .popup-content {
    max-height: 55vh;
    padding: 5px 10px 20px;
    overflow-y: auto;
    color: #333;
    line-height: 1.8;
    text-align: left;
}

.coupon_modal .popup-content img,
.couponMain .information_box .text img {
    max-width: 100%;
    height: auto !important;
}

.coupon_main .redeem_box .coupon_list li.redeemed .coupon_link {
    cursor: not-allowed;
}

.couponMain button:disabled {
    cursor: not-allowed !important;
    opacity: .55;
}

.crevent-event-name {
    margin: -10px 0 25px;
    color: #496755;
    font-weight: 600;
    text-align: center;
}

.couponMain .information_box .text > div {
    line-height: 1.8;
    word-break: break-word;
}

@media (min-width: 768px) {
    .RedeemedList {
        min-height: 100vh;
    }

    .RedeemedList+.nav-menu-bg {
        display: none;
    }
}

@media (min-width: 992px) {
    .RedeemedList {
        min-height: initial;
        overflow: hidden;
    }
}
