.checkout.woocommerce-checkout {
    .shop_table {
        .order-summary {
            display: none;
        }

    }

    .order-delivery {
        .ct-shipping-heading {
            font-size: 1em;
            font-weight: bold;
        }

        .woocommerce-shipping-methods {
            margin-bottom: 1em;
            border: 1px solid #eee;
            padding: .5em;
            background: #fafafa;
        }

        ul#shipping_method li:not(:last-child) {
            margin-bottom: .3em;
        }
    }

    #order_review {
        .shop_table {
            display: none;
        }

        .custom-coupon-wrapper {
            position: relative;
            margin: 0 0 1em;
        }

        .summary-info span.price-info {
            float: right;
        }

        .order-total {
            margin-top: .4em;
            padding-top: .2em;
            border-top: dashed 1px #ccc;
            font-weight: bold;
        }

        /* Kupon */
        button.button.apply-custom-coupon {
            position: absolute;
            right: 10px;
            width: auto;
            font-size: 14px;
        }

        /* Price Summary */
        .price-summary {
            padding: .6em;
            font-size: 15px;
        }

        /* Store credit */
        p.form-row.wfacp-input-form label {
            display: none;
        }
    }

    div#payment {

        h3 {
            color: #444;
            margin-top: 1em;
            border: 1px solid #eee;
            font-weight: 600;
            padding: 8px 10px;
            background: #fafafa;
            border-bottom: 0;
            margin-bottom: 0;
            font-size: 1em;
        }

        .woopay-save-new-user-container:not(:has(.save-details)) {
            display: none;
        }

        li.wc_payment_method>label {
            gap: 10px;
            margin: 0;
            padding: 12px 15px;
            font-weight: 500;
            font-size: 14.5px;
        }

        .form-row.place-order p {
            font-size: 14px;
        }
    }
}

div#custom-couponlist-body {
    display: none;
}

div#custom-couponlist-body.show {
    position: fixed;
    background: #00000050;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding-top: 4rem;
    overflow-y: scroll;
    height: 100%;
    display: unset;
}

.custom-couponlist {
    width: 90%;
    max-width: 400px;
    margin: 5% auto;
    background: #fff;
    padding: 1rem;
    border-radius: 5px;
}

.custom-couponlist-group {
    max-height: 50vh;
    overflow-y: scroll;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex-direction: row;
}

.custom-couponlist-item.no-coupon {
    border: none;
}

button.close-couponlist {
    height: auto;
    width: 2rem;
    float: right;
}

.custom-couponlist-item strong {
    display: block;
    font-size: 16px;
}



.custom-couponlist-item {
    width: 99%;
    margin: auto;
    list-style: none;
    margin-bottom: 0.5rem;
    text-align: left;
    overflow: hidden;
    display: flex;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.2rem;
    background: #fafafa;
    border-radius: 3px;

    .coupon-left-body {
        width: 65%;
        min-height: 4em;
        padding: .6em;
        border: dashed 1px #ccc;
        border-right: 0;
        position: relative;
        border-radius: 5px;


        .coupon-desc {
            font-size: 80%;
        }

        .coupon-exp {
            font-size: 70%;
            border-top: 1px solid #eaeaea;
            margin-top: .6em;
            padding-top: .3em;
            opacity: .9;

        }
    }


    .coupon-left-body:after,
    .coupon-left-body:before {
        width: 1px;
        height: 10px;
        padding: 8px;
        border: dashed 1px #ccc;
        content: "";
        background-color: #fff;
        position: absolute;
        right: -9px;
        top: -13px;
        z-index: 1;
        border-radius: 20px;
    }

    .coupon-left-body:after {
        bottom: -13px;
        top: auto;
    }

    .coupon-right-body {
        width: 35%;
        min-height: 4em;
        border-radius: 5px;
        background: none;
        border-radius: 5px;
        border: 1px dashed #ccc;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .button.custom-couponlist-apply {
        height: auto !important;
        min-height: auto;
        font-size: 13px;
        float: right;
        border-radius: 3px;
    }
}




.button-small {
    font-size: .8em;
    width: auto;
    min-height: auto !important;
    background: #f6f6f6 !important;
    color: #666 !important;
}


.button-small:hover {
    background: #eee !important;
}

div#custom-couponlist-fetch {
    width: 100%;
    min-height: auto;
    background: #eee;
    color: #666;
}

.woocommerce ul.woocommerce-error {
    margin-bottom: 1em;
}

a.close-couponlist {
    float: right;
    font-weight: bold;
    margin: -10px -5px;
    cursor: pointer;
    padding: 5px;
}

input.filter-coupon {
    margin-bottom: 1em;
}

.order-summary {
    margin-bottom: 1em;
}

.acfw-accordions {
    border: 1px solid #eee;
}
.acfw-checkout-ui-block .acfw-accordion h3 {
    background: #fafafa;
    padding: .7em .8em;
    font-size: .9em;
    color: #555;
}
.acfw-checkout-ui-block .acfw-accordion.show h3 {
    border-bottom: 1px solid #eee;
}

/* disable quick add-to-cart di Suggested Product */
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    display: none;
}
/* Untuk layar max 768px (tablet ke bawah) */
@media screen and (max-width: 768px) {
    .ct-order-review {
        display: block;
        align-items: flex-start;
        border: 0 !important;
        padding: 0 !important;
        gap: 2rem;
    }

    .checkout-right,
    #order_review {
        width: 100%;
        margin-bottom: 1.5em;
    }

    .woocommerce-checkout-payment {
        margin-inline: 0;
    }

    .woocommerce-checkout-payment .place-order {
        padding: 0;
    }

    .custom-couponlist-item {
        width: 100%;
    }
}

#custom-couponlist-fetch {
    display: none;
}

.wc-edit-address-wrap,
.u-column1.col-1.woocommerce-Address {
    background-image: url('../images/envelop-ribbon.png');
    background-repeat: repeat-x;
    background-position: top right;
    background-size: auto 6px;
    border: 1px solid #eee;
    border-top: 0;
}

;