.customize_confirmation_popup,
.delete_giftcard_popup,
.discard_giftcard_popup,
.confirmation_giftcard_popup,
.giftcard_balance_popup {
    align-items: center;
    justify-content: center;
}

.giftcard_balance_popup .popup_containers_wrap,
.discard_giftcard_popup .popup_containers_wrap,
.confirmation_giftcard_popup .popup_containers_wrap,
.customize_confirmation_popup .popup_containers_wrap,
.delete_giftcard_popup .popup_containers_wrap {
    max-width: 675px;
}

.giftcard_balance_popup .popup_containers_cont,
.discard_giftcard_popup .popup_containers_cont,
.confirmation_giftcard_popup .popup_containers_cont,
.customize_confirmation_popup .popup_containers_cont,
.delete_giftcard_popup .popup_containers_cont {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    padding: 24px 30px;
}

.customize_confirmation_popup {
    z-index: 113;
}

.delete_giftcard_details {
    text-align: center;
}

.gcb_heading {
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 12px;
}

.giftCardInputLabel {
    width: 100%;
    display: block;
    padding: 16px;
    margin-top: 12px;
    background-color: #FBFBFB;
    border-bottom: 1px solid #777777;
}

.giftCardInputLabel:has(+ .error__msg.active) {
    border-bottom: 1px solid #FF0000;
}

.gift_card_btns {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.gift_card_btns button {
    flex: 0 1 50%;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.gcb_result_cont {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 30px 0px 16px;
}

.gcb_text {
    color: #777777;
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
}

.gcb_value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #000000;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
}

.gcb_result_wrap > svg {
    width: 80px;
    aspect-ratio: 1;
}

.gift_card_box_wrap.active .gift_card_box_cont {
    display: block;
}

.gift_card_box_cont,
.gift_card_box_wrap.active .gift_card_box_plus_icon path:first-child {
    display: none;
}

.gift_card_box_heading {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    display: inline-block;
    outline: none;
    cursor: pointer;
}

.checkout_details_header.gift_card_box_heading {
    margin: 0px;
}

.gift_card_box_plus_icon {
    cursor: pointer;
    width: 16px;
}

.gift_card_box_input_wrap {
    border: 1px solid #777777;
    padding: 12px 10px;
    margin: 12px 0px;
    display: flex;
    align-items: center;
}

.gift_card_box_input_balance,
.gift_card_box_input_status_btn {
    color: #388E3C;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    text-transform: capitalize;
    margin-bottom: 5px;
}

.gift_card_box_input_status_btn {
    cursor: pointer;
}

.gift_card_box_input {
    all: unset;
    box-sizing: border-box;
    width: 100%;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    cursor: auto;
}

.gift_card_box_input::placeholder {
    opacity: 0.7;
    font-weight: 300;
}

.gc_balance_btn {
    cursor: pointer;
}

.delete_gc_details_1 {
    color: #333333;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 8px;
}

.delete_gc_details_2 {
    color: #000000;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
}

.checkout_success_container .placed_order_details:has(.placed_prod_card.gift_card) {
    border: 1px solid #d9d9d9;
}

.placed_order_details:has(.placed_prod_card.gift_card) .placed_order_details_table tr td:nth-child(1) {
    width: 30%;
}

@media screen and (max-width: 767px) {
    .placed_order_details:has(.placed_prod_card.gift_card) .placed_order_details_table tr td:nth-child(1) {
        width: 40%;
    }

    .discard_giftcard_popup,
    .giftcard_balance_popup,
    .customize_confirmation_popup,
    .delete_giftcard_popup,
    .confirmation_giftcard_popup {
        align-items: end
    }

    .discard_giftcard_popup .popup_containers_cont,
    .confirmation_giftcard_popup .popup_containers_cont,
    .giftcard_balance_popup .popup_containers_cont,
    .customize_confirmation_popup .popup_containers_cont,
    .delete_giftcard_popup .popup_containers_cont {
        padding: 16px 10px;
        gap: 16px
    }

    .gift_card_btns button {
        height: 44px;
    }

    .gcb_result_wrap > svg {
        width: 60px;
    }

    .gcb_result_cont {
        gap: 8px;
        margin: 20px 0px 14px;
    }

    .gift_card_box_wrap {
        padding: 16px 8px
    }

    .gcb_value {
        font-size: 20px;
    }

    .gift_card_box_heading,
    .gcb_heading,
    .gcb_text,
    .delete_gc_details_1 {
        font-size: 14px;
    }

    .gift_card_box_input_balance,
    .delete_gc_details_2 {
        font-size: 12px;
    }
}