.sge-coupon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 16px 0;
    border-bottom: 1px solid #D0D7DE;
}

.sge-coupon-title {
    width: 32%;
    font-size: var(--awb-custom_typography_8-font-size) !important;
    font-weight: var(--awb-custom_typography_8-font-weight) !important;
    line-height: var(--awb-custom_typography_8-line-height) !important;
    color: var(--awb-custom_color_3);
}

.sge-coupon-title i {
    font-size: 19px;
    color: #4285F4;
}

.sge-coupon-toggle {
    width: 68%;
    text-align: right;
    color: #222222;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.sge-coupon-toggle .tag {
    width: 50%;
    border: 1px solid var(--awb-custom_color_3);
}

.sge-coupon-used {
    width: 50%;
    margin-right: 40px;
}

.sge-coupon-toggle i {
    color: #3EB323;
}

.sge-coupon-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.sge-coupon-container.is-active {
    opacity: 1;
    visibility: visible;
}

.sge-coupon-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px;
    backdrop-filter: blur(7px);
}

.sge-coupon-wrapper {
    max-width: 492px;
    width: 100%;
    margin: auto;
    background: #fff;
    z-index: 1;
    border-radius: 8px;
    padding: 16px;
}

.sge-coupon-item {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    transition: all 0.3s ease;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}

.sge-action-btn,
.sge-action-btn:hover {
    /* display: none; */
    line-height: 24px;
    width: 100%;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 14px;
    background: white;
    border: 1px solid #15355C;
    color: #15355C;
    font-weight: 600;
    line-height: 24px;
    cursor: pointer;
    font-family: var(--body_typography-font-family);
}

.sge-action-btn.remove-mode,
.sge-action-btn.remove-mode:hover {
    color: #3EB323 !important;
    border: 1px solid #3EB323;
}

.sge-coupon-item.disabled .sge-coupon-item__img,
.sge-coupon-item.disabled .sge-coupon-item__info,
.sge-coupon-item.disabled:hover .sge-coupon-item__img,
.sge-coupon-item.disabled:hover .sge-coupon-item__info {
    opacity: .6;
}

.sge-coupon-list {
    position: relative;
    display: grid;
    gap: 12px;
    max-height: 50vh;
    overflow-y: auto;
    background-color: #E5E5E5;
    padding: 8px;
    border-radius: 16px;
}

.sge-coupon-list.disabled-scroll {
    overflow: hidden;
    padding: 0 !important;
}

.sge-manual-coupon-box {
    padding: 12px;
    background: #fff;
    border: 1px solid #f2f3f5;
    border-radius: 10px;
    margin-bottom: 12px;
}

.sge-manual-msg {
    font-size: 12px;
    margin-top: 8px;
    min-height: 16px;
    color: #222222;
}

.sge-global-msg {
    font-size: 12px;
    margin-bottom: 10px;
    min-height: 18px;
    display: none;
    color: #222222;
}

.sge-coupon-close {
    position: absolute;
    right: 0;
    width: 28px;
    height: 28px;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-bottom: 8px;
}

.sge-coupon-close i {
    font-size: 20px;
    color: #222222;
}

.sge-hint-text {
    width: 100%;
    font-size: 12px;
    color: #222222;
    background: white;
    padding: 4px 16px;
    border-top: 1px dashed #999999;
}

.sge-coupon-item__img {
    max-width: 146px;
}

.sge-coupon-item__info {
    padding: 8px 16px;
    width: calc(100% - 146px);
    background: white;
    display: flex;
    align-items: center;
}

.sge-coupon-item__action {
    background: white;
    width: 40%;
}

.sge-coupon-item__condition {
    border: 1px solid #4285F4;
    border-radius: 150px;
    color: #4285F4;
    padding: 3px 8px;
    font-size: 12px;
    line-height: 18px;
    display: inline-block;
    margin-bottom: 2px;
    font-size: var(--awb-custom_typography_13-font-size);
    font-weight: var(--awb-custom_typography_13-font-weight);
    line-height: var(--awb-custom_typography_13-line-height);
}

.sge-coupon-item__term {
    color: #4285F4;
    font-size: 14px;
    line-height: 24px;
    cursor: pointer;
    display: inline-block;
}

.sge-coupon-details__title {
    font-size: 18px;
    line-height: 28px;
    font-weight: bold;
    margin-bottom: 24px;
    font-size: var(--awb-custom_typography_6-font-size);
    font-weight: var(--awb-custom_typography_6-font-weight);
    line-height: var(--awb-custom_typography_6-line-height);
    color: #222222;
    display: flex;
    align-items: center;
}

.sge-coupon-details__title i {
    color: #4285F4;
    font-size: 32px;
    margin-right: 3px;
}

.sge-coupon-item__desc {
    font-size: 14px;
    line-height: 24px;
    color: #222222;
    font-size: var(--awb-custom_typography_11-font-size);
    font-weight: var(--awb-custom_typography_11-font-weight);
    line-height: var(--awb-custom_typography_11-line-height);
}

.sge-manual-copon-box__title {
    margin-bottom: 10px;
    color: #222222;
    font-size: var(--awb-custom_typography_9-font-size);
    font-weight: var(--awb-custom_typography_9-font-weight);
    line-height: var(--awb-custom_typography_9-line-height);
}

.sge-coupon-details {
    position: relative;
}

.sge-applied-coupon {
    display: flex;
    list-style: none;
    gap: 8px;
    padding: 0;
    margin: 0;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.sge-applied-coupon-item {
    border: 1px solid #15355C;
    padding: 4px;
    font-size: var(--awb-custom_typography_14-font-size);
    font-weight: var(--awb-custom_typography_14-font-weight);
    line-height: var(--awb-custom_typography_14-line-height);
    border-radius: 8px;
    color: #15355C;
    text-transform: uppercase;
}

.sge-pay-summary-box {
    display: flex;
    align-items: start;
    justify-content: space-between;
    padding: 16px 0;
}

.sge-pay-summary-box__content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.sge-pay-summary-box .sge-pay-summary-box__details .sge-pay-summary-box__subtotal {
    color: #4285F4;
    font-size: var(--awb-custom_typography_8-font-size);
    font-weight: var(--awb-custom_typography_8-font-weight);
    line-height: var(--awb-custom_typography_8-line-height);
    display: block;
    text-align: right;
}

.sge-pay-summary-box .sge-pay-summary-box__details .sge-pay-summary-box__discount {
    color: #E30101;
    font-size: var(--awb-custom_typography_10-font-size);
    font-weight: var(--awb-custom_typography_10-font-weight);
    line-height: var(--awb-custom_typography_10-line-height);
    display: block;
    text-align: right;
}

.sge-pay-summary-box .sge-pay-summary-box__action {
    margin-left: 16px;
}

.sge-place-order__custom {
    background-color: #3ACE00;
    color: white;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    border-radius: 160px;
    border: none;
    cursor: pointer;
    font-family: var(--body_typography-font-family);
}

.sge-coupon-bar {
    position: fixed !important;
    bottom: 0 !important;
    width: 100% !important;
    left: 0 !important;
    z-index: 99999 !important;
}

.sge-pay-summary-box__title {
    width: 30%;
    font-size: var(--awb-custom_typography_8-font-size) !important;
    font-weight: var(--awb-custom_typography_8-font-weight) !important;
    line-height: var(--awb-custom_typography_8-line-height) !important;
    color: #4285F4;
}

.sge-coupon-term__content {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    max-height: 50vh;
    padding: 16px;
    background: white;
    z-index: 99;
    border: 8px solid #E5E5E5;
    border-radius: 14px;
    display: none;
    overflow-y: auto;
}

.sge-coupon-term__item {
    color: #222222;
    font-size: var(--awb-custom_typography_11-font-size) !important;
    font-weight: var(--awb-custom_typography_11-font-weight) !important;
    line-height: var(--awb-custom_typography_11-line-height) !important;
}

.sge-coupon-term__content.active {
    display: block;
}

.sge-coupon-term__content-title {
    font-size: var(--awb-custom_typography_9-font-size) !important;
    font-weight: var(--awb-custom_typography_9-font-weight) !important;
    line-height: var(--awb-custom_typography_9-line-height) !important;
    color: #4285F4;
    padding: 16px 0;
}

.sge-coupon-term__content-back {
    cursor: pointer;
    display: inline-block;
    color: #222222;
    font-size: var(--awb-custom_typography_11-font-size) !important;
    font-weight: var(--awb-custom_typography_11-font-weight) !important;
    line-height: var(--awb-custom_typography_11-line-height) !important;
}

.sge-coupon-term__content-back i {
    color: #3EB323;
}

.sge-coupon-item__title {
    color: #222222;
    font-size: var(--awb-custom_typography_10-font-size) !important;
    font-weight: var(--awb-custom_typography_10-font-weight) !important;
    line-height: var(--awb-custom_typography_10-line-height) !important;
}

.sge-coupon-item__code,
.sge-coupon-item__term {
    font-size: var(--awb-custom_typography_11-font-size) !important;
    font-weight: var(--awb-custom_typography_11-font-weight) !important;
    line-height: var(--awb-custom_typography_11-line-height) !important;
}

.sge-coupon-item__code {
    color: #222222;
}

#sge-manual-coupon-apply {
    max-width: 82px;
    background-color: #4285F4;
    color: white;
    border-color: #4285F4;
}

@media only screen and (max-width: 640px) {
    .sge-coupon-wrapper {
        max-width: 100vw;
        width: calc(100% - 16px);
        padding: 19px 8px;
    }

    .sge-coupon-item__img {
        max-width: 120px;
    }

    .sge-coupon-item__info {
        padding: 8px;
        width: calc(100% - 120px);
    }

    .sge-action-btn,
    .sge-action-btn:hover {
        font-size: 12px;
        padding: 4px 12px;
    }

    .sge-place-order__custom {
        padding: 4px 12px;
    }

    .sge-coupon-used {
        width: 65%;
        margin-right: 8px;
    }

    .sge-coupon-header,
    .sge-pay-summary-box {
        padding: 8px 0;
    }

    .sge-coupon-item__condition {
        padding: 1px 8px;
    }

    .sge-coupon-details__title {
        margin-bottom: 8px;
    }

    .sge-coupon-list {
        gap: 8px;
    }

    .sge-applied-coupon {
        gap: 4px;
    }
}