.coupon_input_wrap {
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    text-transform: capitalize;
}

.coupon_input {
    all: unset;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #33333380;
    width: 63%;
    height: 100%;
    padding: 14px 16px;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1875;
    text-align: left;
    text-transform: uppercase;
}

.coupon_input::placeholder {
    opacity: .6;
    text-transform: none;
}

.danger {
    color: rgb(255, 60, 0) !important;
}

.coupon_input_apply_btn {
    width: 37%;
    height: 100%;
    color: #ffffff;
    cursor: pointer;
    background: #333333;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

.coupon_apply_msg {
    display: none;
    color: #388E3C;
    font-size: 14px;
    font-weight: 300;
    line-height: 1;
    margin-top: 10px;
}

.coupon_apply_msg.active {
    display: block;
}

.applied_coupon_card {
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.acc_wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.acc_icon {
    width: 34px;
    aspect-ratio: 1;
}

.acc_details {
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.acc_details_status {
    color: #388E3C;
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
}

.acc_status {
    color: #388E3C;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-transform: capitalize;
}

.coupon_popup {
    align-items: center;
    justify-content: center;
}

.coupon_popup .popup_containers_wrap {
    max-width: 772px;
    max-height: 800px;
    height: 100%;
}

.coupon_popup .popup_containers_content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    overflow: hidden scroll;
}

.coupon_popup .popup_containers_content::-webkit-scrollbar {
    display: block;
}

.coupon_list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.coupon_list_heading {
    color: #333333;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 12px;
    text-transform: capitalize;
}

.coupon_card {
    width: 100%;
    display: flex;
    height: 100%;
    align-items: stretch;
    background-color: #ffffff;
}

.coupon_card.coupon_applied:not(.locked_coupon_card) {
    background-color: var(--coupon_bg_rgba);
}

.coupon_card.locked_coupon_card .coupon_heading {
    background-color: #CECECE;
}

.coupon_heading {
    color: #000000;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    padding: 16px 10px;
    white-space: nowrap;
    writing-mode: vertical-rl;
    background-color: var(--coupon_bg);
    transform: rotate(180deg);
}

.coupon_details_wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 14px 20px 8px;
    border: 1px solid #D9D9D9;
    border-left: none;
}

.coupon_details h5 {
    color: #000000;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
}

.coupon_details p {
    color: #333333;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.2;
}

.coupon_apply_btn {
    color: #333333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-transform: capitalize;
    background-color: #ffffff;
    border: 1px solid #000000;
    flex: 0 0 98px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.coupon_card.locked_coupon_card .coupon_apply_btn {
    flex: unset;
    color: #ffffff;
    padding: 3px 16px;
    background-color: #000000;
}

.coupon_card.coupon_applied .coupon_apply_btn {
    color: #000000;
    background-color: #ffffff;
}

.checkout_git_list_item {
    width: 100%;
    background: url("../img/checkout/gift_ribbon.png") no-repeat 103% 50%/ auto, #FFF6F6;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 16px;
}

.checkout_git_list_item__wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}

.checkout_git_list_item__box {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.checkout_git_list_item__checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #000000 !important;
    position: relative;
}

.checkout_git_list_item__wrap__text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    max-height: 14px;
}

.checkout_git_list_item__wrap__subtext {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    text-align: left;
    margin-top: 4px;
}

.giftwrap_note span {
    font-weight: 600;
}

#charCount {
    font-size: 14px;
    color: #777777;
    margin: 6px 10px;
}

.delivery_type_card {
    margin-top: 20px;
}

.delivery_type_card label {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
}

.delivery_type_card label:has(#delivery_type_2)::after {
    content: "";
    width: 22px;
    height: 22px;
    background: url("../img/icons/delivery-times.svg") no-repeat center center;
    margin-left: -8px;
}

.dt_radio_input {
    width: 20px;
    height: 20px;
    accent-color: #333333;
    border: 1px solid #333333;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dt_details {
    color: #777777;
    font-size: 16px;
    line-height: 1;
    font-weight: 300;
    margin-left: 36px;
}

.dt_details span {
    color: #333333;
    font-weight: 500;
}

@media screen and (max-width:767px) {
    .acc_wrap {
        gap: 6px;
    }

    .acc_icon {
        width: 30px;
    }

    .acc_details {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .acc_details_status,
    .acc_status {
        font-size: 12px;
    }

    .coupon_popup {
        align-items: end;
    }

    .coupon_popup .popup_containers_wrap {
        max-height: 80%;
    }

    .coupon_popup .popup_containers_content {
        gap: 20px;
        padding: 16px 10px;
    }

    .coupon_list {
        gap: 8px;
    }

    .coupon_list_heading {
        font-size: 16px;
    }

    .delivery_type_card {
        margin: 16px 6px 0px;
    }

    .delivery_type_card label {
        gap: 10px;
        margin-bottom: 8px;
    }

    .delivery_type_card label:has(#delivery_type_2)::after {
        width: 18px;
        height: 18px;
        margin-left: -4px;
    }

    .dt_radio_input {
        width: 18px;
        height: 18px;
    }

    .dt_details {
        font-size: 14px;
        margin-left: 28px;
    }

    .dt_details span {
        color: #333333;
        font-weight: 500;
    }

    .checkout_git_list_item__wrap {
        margin-bottom: 12px;
    }

    .checkout_git_list_item {
        padding: 10px 8px;
        margin-bottom: 6px;
    }

    .coupon_input_wrap {
        height: 40px;
    }

    .coupon_input,
    .coupon_input_apply_btn {
        padding: 10px 12px;
        font-size: 14px
    }

    .coupon_heading {
        padding: 10px;
        font-size: 10px
    }

    .coupon_details_wrap {
        padding: 20px 10px;
    }

    .coupon_details h5 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .coupon_details p,
    .coupon_apply_msg {
        font-size: 12px
    }

    .coupon_apply_btn {
        flex: 0 0 72px;
        height: 28px;
        font-size: 12px
    }

    .coupon_card.locked_coupon_card .coupon_apply_btn {
        padding: 8px;
        white-space: nowrap;
    }

    .checkout_git_list_item__checkbox {
        width: 18px;
        height: 18px;
    }

    .checkout_git_list_item__wrap__text {
        font-size: 14px;
        line-height: 1.2;
    }

    .checkout_git_list_item__wrap__subtext {
        font-size: 12px;
        line-height: 1;
        margin-top: 8px;
    }

    .checkout_git_list_item__checkbox:checked::after {
        top: 3px;
        left: 3px;
        width: 8px;
        height: 8px;
    }
}