#ferdows {
    #ferdows_headerBack {
        width: 50px;

        i.icon-home {
            font-size: 24px;
        }
    }

    #ferdows_header,
    #ferdows_footer,
    .product_card {
        direction: ltr;
        height: fit-content;
    }

    #ferdows_categoriesContainer {
        background-color: #dededeeb;
        z-index: 99999;
        top: 0px;
        overflow-x: scroll;
        overflow-y: hidden;
    }

    #search_button {
        width: 10%;

        i {
            font-size: 20px;
            background-color: #c9c9c97d;
            color: white !important;
        }
    }

    .category_items .category_img {
        width: 40px;
        height: 40px;
        box-shadow: 0 0 1px 1px #eeeeee4a;
    }

    #search_area {
        width: 90%;
    }

    #dropdown_search_food {
        position: sticky;
        border-radius: 0 0 10px 10px;
        border: 1px solid #dedede;
        top: 55px;
        right: 10px;
        z-index: 99999;

        div {
            text-align: center;
        }
    }

    .minus_to_basket,
    .add_to_basket {
        width: 30px;
        height: 30px;
    }

    .selected_items_css {
        color: white;
        font-weight: bolder;
    }

    #packing-checkbox {
        transform: scale(1.2);
        accent-color: var(--bs-success);
    }

    .form-control:focus {
        border-color: #6ee4a5;
        box-shadow: 0 0 0 .25rem rgba(13, 253, 125, 0.25);
    }

    .menu-discount-tag {
        font-size: 0.9rem;
        top: 5px;
        left: -30px;
    }
}

#kian {

    html,
    body {
        height: 100%;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    #kian_headerBack {

        /* width: 20%; */
        i.icon-home {
            font-size: 18px;
        }
    }

    #kian_main {
        height: 90vh;
    }

    #kian_products {
        overflow-y: auto;
        height: 100%;
        padding-bottom: 60px;

        &::-webkit-scrollbar {
            width: 0;
        }

        &::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        &::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 10px;
        }

        &::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
    }

    #kian_categoriesContainer {
        height: 100%;
        z-index: 1000;
        top: 0px;
        overflow: hidden;
    }

    #kian_categories {
        overflow-y: auto;
        height: 100%;
        scrollbar-width: thin;
        padding-bottom: 50px;
    }

    .category_in_top_product {
        z-index: 10;
        font-size: 20px;
    }

    .category_product_item:first-of-type {
        scroll-margin-top: 80px;
    }

    .category_product_item {
        scroll-margin-top: 80px;
    }

    #search_button {
        width: 10%;

        i.icon-search {
            font-size: 20px;
            background-color: #c9c9c97d;
        }
    }

    #search_area {
        width: 90%;
    }

    #dropdown_search_food {
        border-radius: 0 0 10px 10px;
        border: 1px solid #dedede;
    }

    .category_items {
        font-size: 0.7rem;

        .category_img {
            width: 50px;
            height: 50px;
            box-shadow: 0 0 1px 1px #eeeeee4a;
            color: inherit;

            i {
                color: inherit !important;
            }
        }
    }

    .minus_to_basket,
    .add_to_basket {
        width: 30px;
        height: 30px;
    }

    .selected_items_css {
        color: white;
        font-weight: bolder;
        font-size: 0.8rem;
    }

    #packing-checkbox {
        transform: scale(1.2);
        accent-color: var(--bs-success);
    }

    .form-control:focus {
        border-color: #6ee4a5;
        box-shadow: 0 0 0 .25rem rgba(13, 253, 125, 0.25);
    }

    .menu-discount-tag {
        font-size: 0.7rem;
        top: 3px;
        left: -37px;
    }
}

#background_image {
    position: fixed;
    z-index: -1;
    width: 100vw;
    height: 100vh;
}

#ferdows_shopLogo,
#kian_shopLogo {
    width: 50px;
    height: 50px;
    box-shadow: 0 0 1px 1px #eeeeee4a;
}

#ferdows_header,
#kian_header {
    z-index: 100;
}

#ferdows_nextStep,
#kian_nextStep {
    background-color: rgba(255, 255, 255, 0.25);
    color: inherit;
}

.category_items,
.add_to_basket,
.minus_to_basket {
    cursor: pointer;
}

.form-control:focus {
    border-color: #18d761;
    box-shadow: 0 0 0 .25rem rgba(13, 255, 138, 0.25);
}

/* ===== pop up ===== */
#doc_pop_up_div {
    max-height: 100vh !important;
    padding: var(--safe-area-inset-top) var(--safe-area-inset-right) var(--safe-area-inset-bottom) var(--safe-area-inset-left) !important;
    box-sizing: border-box !important;
}

.popup-wrapper {
    display: flex;
    flex-direction: column;
    background: url('../img/menu/new/bg.png') !important;
    background-size: cover !important;
    height: 100%;
    width: 100%;
    position: relative;
}

.popup-body {
    flex: 1;
    overflow-y: auto;
    overflow-y: scroll;
    padding-bottom: calc(70px + var(--safe-area-inset-bottom));
    /* padding-top: var(--safe-area-inset-top); */
}

.popup-scroll {
    /* max-height: 100% !important; */
    overflow-y: auto;
    overscroll-behavior: contain;
}

.popup-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    padding-top: calc(10px + var(--safe-area-inset-top)) !important;
}

.popup-footer {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding-bottom: calc(10px + var(--safe-area-inset-bottom)) !important;
    padding-top: 10px !important;
    padding-left: calc(15px + var(--safe-area-inset-left)) !important;
    padding-right: calc(15px + var(--safe-area-inset-right)) !important;
    backdrop-filter: blur(5px);
    z-index: 20;
}

body.popup-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

.fs-xs {
    font-size: 0.78rem;
}

.product_card {
    .product_card_img {
        width: 100px;
        height: 100px;
        margin: 4px;
    }

    .product_card_text {
        width: calc(100% - 100px);
        min-height: 108px;

        .product_card_btns {
            font-size: 12px;
            bottom: 0;
            left: 0;
            z-index: 10;
        }

        .product_card_desc {
            cursor: pointer;
            bottom: 3px;
            right: 3px;
        }
    }
}

.menu-discount-tag {
    background-color: var(--bs-danger);
    color: white;
    width: 100px;
    font-weight: bold;
    position: absolute;
    transform: rotate(-45deg);
    z-index: 1;
    padding: 3px 25px 0px 26px;
    text-align: center;
}

input[type="radio"],
input[type="checkbox"] {
    accent-color: var(--bs-success);
    transform: scale(1.3);
}

#selected_products_table {
    max-height: 300px;
    min-width: 90%;
    max-width: 500px;

    &::-webkit-scrollbar {
        width: 7px;
        background-color: #0096323e;
    }

    &::-webkit-scrollbar-thumb {
        border-radius: 0.475rem;
        background-color: #198754 !important;
    }
}

/* ===== animations ===== */
.blinking {
    animation: blink 500ms ease infinite;
}

@keyframes blink {
    0% {
        background-color: green;
    }

    500% {
        background-color: lime;
    }

    100% {
        background-color: rgb(36, 218, 133);
    }
}

.animation_1 {
    animation: smooth-appear 0.5s ease forwards;
}

.animation_2 {
    animation: smooth-appear2 0.5s ease forwards;
}

@keyframes smooth-appear {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes smooth-appear2 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}