/* Layout - Voucher List */
.voucher_list_section .voucher_item {
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px #0000001a;
    border-radius: 10px;
    overflow: hidden;

    position: relative;

    cursor: pointer;
}

.voucher_list_section .voucher_top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    height: 100px;

    padding: 10px;

}

.voucher_list_section .voucher_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px;
    font-size: 14px;
    background-color: #F6F6F6;

}

.voucher_list_section .voucher_top .voucher_img_box {
    width: 100px;
}

.voucher_list_section .voucher_top .voucher_img_box img {
    width: 100%;
}

.voucher_list_section .voucher_name {
    font-size: 16px;
    text-align: left;
}

.voucher_list_section .voucher_min_order {
    font-size: 14px;
    text-align: left;
}

.voucher_list_section .voucher_btn {
    transition: all .3s linear;
}

.voucher_ppupbox,
.voucher_ppupbox_detail {
    /* position: absolute; */
    position: fixed;

    left: 50%;
    transform: translate(-50%);

    /* z-index: 3; */
    z-index: 10006;
    display: none;

}

.voucher_ppupbox {
    top: 50%;
}

.voucher_ppupbox_detail {
    /* top: -30%; */
    top: 10%;
}

.voucher_list_section .voucher_ppupbox.show {
    display: block;
}

.voucher_ppupbox_container,
.voucher_ppupbox_detail_container {
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px #0000001a;
    color: #333;

    min-width: 300px;
    padding: 20px;
    border-radius: 10px;

    transition: all .3s linear;
}

.voucher_list_section .voucher_notification {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0px 10px;
    background-color: var(--warning-color);
    color: #fff;
    font-size: 13px;
    border-bottom-left-radius: 10px;
}

.voucher_detail__content {
    position: relative;
}

.detail_header {
    display: flex;
    justify-content: flex-start;
}

.detail_body {
    overflow-y: auto;
    max-height: calc(100dvh - 260px);
    word-break: break-word;
    margin: 0;

    padding: 10px 0;
}

.detail_footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    gap: 12px;
    background-color: #fff;
    justify-content: flex-end;
    width: 100%;

    margin: 10px 0;
}

.detail_footer .view_btn {
    color: var(--main-color);
    background-color: transparent;
    border: 1px solid var(--main-color);

    font-size: 14px;
    border-radius: 6px;
    padding: 5px 10px !important;
    cursor: pointer;
    width: 200px;
    height: 30px;
}

.detail_footer .claim_btn {
    color: #fff;
    background-color: var(--main-color);
    border: 1px solid var(--main-color);

    font-size: 14px;
    border-radius: 6px;
    padding: 5px 10px !important;
    cursor: pointer;
    width: 200px;
    height: 30px;
}

.coupon_terms {
    text-align: left;
    margin: 10px 0;
    border-top: 1px solid #DFDFDF;
    padding: 10px 0;
}

.detail_close {
    cursor: pointer;
}

.voucher_list_section .btn_txt {
    background: var(--sub-color);
    font-size: 10pt;
    letter-spacing: 0px;
    color: #fff;
    text-transform: capitalize;
    padding: 11px 30px 11px 30px;
    text-transform: capitalize;
    font-weight: 400;
    -o-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -khtml-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    transition: all 0.2s linear;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;

    margin: 20px 0;
}

.voucher_list_section .voucher_list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.voucher_list_section .voucher_btn {
    background-color: var(--main-color);
    color: var(--white-color) !important;
    border-radius: 6px;
    padding: 3px 20px !important;
    cursor: pointer;
    display: inline-block;
}

.voucher_btn.active,
.claim_btn.active {
    background-color: #878787;
    cursor: not-allowed;
}

.claim_btn.active {
    border-color: #878787;
}

@media only screen and (max-width: 1050px) {}

@media only screen and (max-width: 850px) {}

@media only screen and (max-width: 610px) {
    .voucher_ppupbox, .voucher_ppupbox_detail {
        width: 100%;
    }

    .voucher_ppupbox_container, .voucher_ppupbox_detail_container {
        max-width: 100%;
    }

    .detail_footer {
        flex-wrap: wrap;
        justify-content: center;
    }

    .detail_footer .view_btn,
    .detail_footer .claim_btn {
        width: 100%;
    }

    .voucher_ppupbox_detail {
        /* top: 0%; */
        top: unset;
        bottom: 0;
    }

    .voucher_ppupbox_detail_container {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}

@media only screen and (max-width: 480px) {}