#category_main_container {
    min-height: 80%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;

}

#alert_choose_option_container {
    width: 100%;
    height: 100%;
    background: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
}

#alert_choose_option {
    width: 400px;
    height: 200px;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#ok_choose_option {
    background-color: rgb(55, 55, 55);
    color: white;
    margin-top: 1rem;
    width: 200px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#category_container {
    width: 1000px;
    max-width: 90%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;

}

.set_margin_product {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0.5rem;
    box-sizing: border-box;
    /*stop zooming*/
    touch-action: manipulation;
    pointer-events: none;
}

.btn_food {
    pointer-events: all;
    cursor: pointer;
    background-color: var(--product-bg);
    color: var(--product-text);
    width: 100%;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /*box-shadow: 0px 0px 8px 2px var(--border-color);*/
}

.product_img_wrapper {
    position: relative;
    margin-top: 1rem;
    width: 80%;
}

.product_img_wrapper>img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    object-fit: cover;
    display: block;
}

.diet_badges {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.diet_badge {
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 999px;
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 0.02em;
}


.btn_food>p {
    pointer-events: none;
    text-align: center;
    font-size: 1rem;
    margin-top: 0.5rem;
    margin-bottom:0.5rem;
    color: var(--product-text);
}


.div_extra {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    align-items: center;
}

#right_m_part_2B>div:nth-child(1) {
    /*PLUS AND MINUS DIV*/
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

#right_m_part_2B>div:nth-child(2) {
    /*ADD TO ORDER BUTTON*/
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    text-align: center;
    background-color: var(--modal-add-bg);
    color: var(--modal-add-text);
    font-size: 1.2rem;
    cursor: pointer;
}

.btn_select_product_option {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 2.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    font-size: 1.2rem;
    background-color: var(--modal-subproduct-bg);
    color: var(--modal-subproduct-text);
    cursor: pointer;
}

.ingredients_container {
    height: auto;
}

.div_ingredient {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    align-items: center;
    background-color: var(--modal-subproduct-bg);
    color: var(--modal-subproduct-text);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
}

#btn_minus_quantity,
#btn_plus_quantity,
.btn_plus_extra,
.btn_minus_extra,
.btn_plus_ingredient,
.btn_plus_ingredient_waiting,
.btn_minus_ingredient {
    width: 36px;
    height: 36px;
    color: var(--modal-quantity-text);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    border-radius: var(--radius);
}

.color_available {
    background-color: var(--modal-quantity-bg);
    cursor: pointer;
}

.color_unavailable {
    cursor: default;
    background-color: var(--unavailable-bg);
    pointer-events: none;
}


#divOptionsContainer {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2;
}

#divOptions {
    width: 500px;
    height: 100%;
    border-radius: var(--radius);
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
}

#aux_center_options {
    position: relative;
    max-height: 100%;
    width: 352px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    justify-items: flex-start;
}

.option {
    position: relative;
    margin: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 108px;
    height: 108px;
    font-size: 0.8rem;
    overflow: hidden;
    border-radius: var(--radius);
    border-width: 1px;
    border-color: var(--option-border);
    border-style: solid;
    color: var(--option-text);
    cursor: pointer;
}

.in_stock {
    background-color: var(--option-bg);
}

.not_in_stock {
    background-color: red;
    pointer-events: none;
}

.option>p {
    pointer-events: none;
}

.option>img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media only screen and (max-width:850px) {

    .set_margin_product {
        width: 33.3%;
    }

}


@media only screen and (max-width:600px) {

    .set_margin_product {
        width: 50%;
    }

    #aux_center_options {
        width: 288px;
    }

    .option {
        margin: 12px;
    }

}