.delivery-btn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 7px 16px;
    background-color: #F6F8F8;
    border-radius: 250px;
    cursor: pointer;
    width: 100%;
}

.header-max .header {
    position: relative;
}

.delivery-wrapper {
    width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 9px;
    left: 50%;
    z-index: 1111111;
    transform: translateX(-50%);
}

.delivery-location {
    margin-inline: 16px;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.modal-dialog {
    z-index: 99;
}

.delivery-addresses-modal .modal-dialog {
    max-width: 758px;
}

.delivery-addresses-modal .modal-content {
    padding: 24px !important;
}

.delivery-addresses-modal button{
    color: #000000;
}

.addressesTabs {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    cursor: pointer;
    padding: 4px;
    border-radius: 1000px;
    border: 1px solid #A08854;
}

.addressesTabs .tab {
    padding: 8px 16px;
    background: #fff;
    color: #091B33;
    width: 100%;
    border-radius: 1000px;
    text-align: center;
    font-family: MontserratBold;
}

.delivery-addresses-modal .tab.active {
    background: #A08854;
    color: white;
    font-weight: bolder;
}

.delivery-addresses-modal .tab-content {
    display: none;
    padding-top: 24px;
}

.delivery-addresses-modal .tab-content.active {
    display: block;
}

#deliveryAddressesModal .modal-footer {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.save-add-modal, .close-add-modal {
    display: block;
    width: 100%;
    gap: 24px;
    border-radius: 1000px;
    text-align: center;
    padding: 11px 24px;
}

.close-add-modal {
    border: 1px solid #B2B0B1;
    background: #fff;
    font-family: MontserratBold;
}

.save-add-modal {
    border: 1px solid #1E6B57;
    background: #1E6B57;
    color: #fff !important;
    font-family: MontserratBold;
}

.modal-delivery-address {
    background: #fff;
    border: 1px solid #B2B0B1;
    padding: 16px;
    height: 72px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 8px;
    margin-bottom: 24px;
}

.modal-delivery-address label {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
    margin-left: 24px;
    cursor: pointer;
    width: 100%;
}

.modal-address-btns {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 24px;
}

.address-edit-btn {
    font-size: 14px;
    border-radius: 1000px;
    border: 1px solid #A08854;
    font-weight: bold;
    padding: 6px 16px;
    margin-right: 10px;
    background: #FFFFFF;
    font-family: MontserratBold;
}

.address-trash-btn {
    background: transparent;
    border: none;
}

.modal-delivery-address input {
    width: 18px;
    height: 18px;
    position: relative;
}

.modal-delivery-address input:after {
    content: url(/images/check-radio.svg);
    position: absolute;
    top: -3px;
    left: -3px;
}

.modal-delivery-address input:checked:after {
    content: url(/images/checked-radio.svg);
    position: absolute;
    top: -3px;
    left: -3px;
}

.activeRadio {
    border-color: #1E6B57;
}

.add-new-address {
    border-radius: 8px;
    height: 52px;
    border: 1px solid #B2B0B1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    margin-bottom: 24px;
    background: #FFFFFF;
    padding: 0 16px;
}

.add-new-address p {
    margin-bottom: 0;
    margin-left: 16px;
    color: black;
}

.delivery-addresses-modal .modal-footer, .delivery-addresses-modal .modal-header {
    padding: 0;
}

#delivery-map {
    width: 100%;
    height: 227px;
    margin-block: 16px;
}

.modal-input-item input, .modal-input-item select {
    width: 100%;
    border: 1px solid #A08854;
    border-radius: 8px;
    height: 48px;
    padding-inline: 8px;
    background: #FFFFFF;
}

.modal-input-item {
    width: 100%;
    margin-bottom: 16px;
}

.modal-input-item label {
    font-size: 12px;
    font-family: MontserratBold;
    margin-bottom: 4px;
}

.modal-input-item textarea {
    height: 96px;
    width: 100%;
    border: 1px solid #A08854;
    border-radius: 8px;
    padding: 16px 8px;
    resize: none;
}

.modal-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 16px;
}

.delivery-content {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.closep {
    background: transparent;
    border: none;
}

#createDeliveryAddressModal .modal-body, #deliveryAddressesModal .modal-body {
    padding: 0 !important;
    height: 100%;
    overflow: auto;
}

#createDeliveryAddressModal .modal-content, #deliveryAddressesModal .modal-content {
    max-height: calc(100vh - 64px);
    overflow: auto;
}

.delivery-addresses-modal .modal-footer {
    padding-top: 8px !important;
}

#suggestions {
    max-height: 150px;
    width: 100%;
    overflow-y: auto;
    background: #fff;
    position: absolute;
    z-index: 1000;
    margin-top: -14px;
    border-radius: 8px;
}

#suggestions:not(:empty) {
    border: 1px solid #A08854;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1080px) {
    .delivery-wrapper {
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -moz-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .delivery-location {
        font-size: 13px;
    }

    .delivery-wrapper {
        width: 219px;
    }
}

@media (max-width: 822px) {
    .delivery-wrapper {
        width: 219px;
        left: 16px;
        transform: translateX(0);
    }
}

@media (max-width: 800px) {
    .addressesTabs {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 6px;
    }

    .addressesTabs {
        border-radius: 24px;
    }

    .add-new-address {
        height: 44px;
    }
}

@media (max-width: 669px) {
    .delivery-btn {
        display: none;
    }

    .delivery-wrapper {
        position: static;
        padding: 0 14px;
    }

    #mySidenav .delivery-btn {
        display: -webkit-box !important;
        display: -webkit-flex !important;
        display: -moz-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        width: 100%;
        position: relative;
    }

    .delivery-btn .arrow-img {
        position: absolute;
        top: 13px;
        right: 16px;
    }

    .delivery-location {
        font-size: 16px;
    }
}

@media (max-width: 490px) {
    .delivery-content {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -moz-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .modal-delivery-address {
        height: auto;
    }

    .modal-address-btns {
        margin-top: 16px;
    }

    .modal-delivery-address label {
        width: 80%;
    }

    .add-new-address p {
        text-align: left;
        padding: 10px 0;
    }
}
