.modal_wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}
  
.mymodal {
    position: absolute;
    top: 2%;
    height: calc(98% - 4%);
    left: 3%;
    right: 3%;
    z-index: 10;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 0 50vmax rgba(0,0,0,.5);
    pointer-events: auto;
}

.mymodal_content {
    top: 0;
    width: 100%;
    height: 15%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    font-family: sans-serif;
    background-color: var(--color-primario);
}

.mymodal_content_sin_descripcion {
    height: 15%;
}

.modal_header {
    background-color: var(--color-primario);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.observaciones_content {
    width: 100%;
    height: 55%;
    flex-direction: column;
    display: flex;
    font-family: sans-serif;
    align-items: center;
}

/* .observaciones_content_sin_descripcion {
    height: 84%;
} */



/* NEW */
.observaciones_content_sin_descripcion {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 84%;
}

.contenido_extra {
    max-height: 90%;
    overflow-y: auto;
    flex-grow: 1;
}

.div_para_el_boton{
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 25px;
}
/* **************************************+ */


.cantidad_content {
    width: 100%;
    height: 18%;
    flex-direction: row;
    display: flex;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    font-family: sans-serif;
    background-color: var(--color-primario);
    justify-content: center;
    align-items: center;
}

.cantidad_content_extras {
    background-color: #ffffff;
}

.content_articulo {
    width: 100%;
    height: 10%;
    display: flex;
    flex-direction: row;
    color: white;
}
.text_articulo {
    width: 90%;
    height: 40px;
    padding-top: 3%;
    padding-left: 5%;
    font-size: 22px;
    font-weight: bold;
    max-height: calc(1.4em * 3);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.close {
    width: 10%;
    height: 30px;
    right: 0;
    cursor: pointer;
    margin-top: 3%;
    margin-right: 2%;
}

.close svg{
    width: 100%;
    height: 50px;
    right: 0;
    cursor: pointer;
}

.descripcion_articulo {
    width: 100%;
    height: 47%;
    font-size: 17px;
    color: white;
    padding-left: 5%;
    max-height: calc(1.4em * 5);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.precio_articulo {
    width: 100%;
    height: 28%;
    font-size: 20px;
    color: white;
    padding-top: 2%;
    padding-left: 5%;
    font-weight: bold;
}

input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}
  
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
  
.number_input {
  display: inline-flex;
  border-radius: 30px;
  margin: 7px;
  box-sizing: border-box;
}
  

.modal_persona_content .number_input {
    background-color: #ffffff;
}

.restar_agregar_content .number_input {
    background-color: #d4d8d8de;
}

.number_input button {
  outline:none;
  -webkit-appearance: none;
  background-color: transparent;
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0;
  position: relative;
}

.modal_persona_content .number_input button {
  width: 3rem;
  height: 3rem;
}

.restar_agregar_content .number_input button {
    width: 3rem;
    height: 2.5rem;
}

.modal_persona_content .number_input input[type=number] {
    font-size: 2rem;
    height: 3rem;
}

.restar_agregar_content .number_input input[type=number] {
    font-size: 1rem;
    height: 2.5rem;
}

.modal_persona_content .number_input button svg{
    fill: var(--color-primario);
}

.number_input button:after {
  display: inline-block;
  position: absolute;
  font-weight: 900;
  transform: translate(-50%, -50%) rotate(180deg);
}
.number_input button.plus:after {
  transform: translate(-50%, -50%) rotate(0deg);
}
  
.number_input input[type=text] {
  font-family: sans-serif;
  max-width: 2.5rem;
  padding: .5rem;
  border-width: 0 2px;
  font-weight: bold;
  text-align: center;
}

.agregar_producto{
    width: 100%;
}

.agregar_producto,
.agregar_extra {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.agregar_extra {
    width: 100%;
}

.content_buton {
    width: 100%;
    height: 53px;
    display: inline-flex;
    background-color: var(--color-primario);
    border-radius: 30px;
    text-align: center;
    position: relative;
    border: none;
}

.boton_volver {
    width: 30%;
}

.boton_volver_completo {
    width: 50%;
}

.boton_agregar_extras {
    width: 60%;
    margin-left: 5%;
}

.text_agregar {
    width: 90%;
    height: 100%;
    padding: 12px;
    color: white !important;
    font-size: 15px;
}

.text_precio {
    width: 30%;
    height: 100%;
    padding: 14px;
    color: white;
}

.content_buton svg{
    width: 55px;
    height: 51px;
    fill: white;
}

.boton_agregar_extras svg{
    width: 45px;
    height: 47px;
    fill: white;
}

.boton_agregar_extras .text_agregar {
    width: 88%;
    height: 100%;
    padding: 4px;
    color: var(--color-primario);
    padding-top: 15px;
    font-size: 13px;
}

.boton_volver svg{
    width: 34px;
    height: 50px;
    fill: var(--color-primario);
}

.boton_volver_completo svg{
    width: 34px;
    height: 50px;
    fill: var(--color-primario);
}

.boton_volver .text_agregar{
    padding: 0;
    padding-top: 15px;
    font-size: 13px;
}

.modal_persona_content .cantidad {
    border: solid var(--color-primario);
    background-color: transparent;
    color: var(--color-primario);
}

.restar_agregar_content .cantidad{
    border: solid #b4b4b4de;
    background-color: #b4b4b4de;
    color: #ffffff;
}

.restar_agregar_content .cantidad_fraccion{
    border: solid #b4b4b4de;
    background-color: #b4b4b4de;
    color: #ffffff;
    /* rounded en lado izquierdo */
    border-radius: 20px 0 0 20px;
}


.div_personas,
.div_extras {
    height: 100%;
    overflow: auto;
}

.contenido_por_persona {
    width: 100%;
    padding-bottom: 12px;
    height: auto;
}

.contenido_por_persona_grande {
    margin-top: 8px;
    height: auto;
}

.contenido_por_persona,
.contenido_por_persona_grande,
.opciones_extras {
    display: flex;
    flex-direction: row;
}

.texto_personas {
    width: 25%;
    height: 50px;
    padding-top: 3.5%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 17px;
    font-weight: bold;
}

.restar_agregar_content {
    width: 45%;
    height: 50px;
}

.div_icono_agregar_extras {
    width: 100%;
    height: 50px;
    display: flex;
    margin-bottom: 8px;
}

.svg_con_color {
    fill: var(--color-primario);
}

.svg_sin_color {
    fill: #595959de;
}

/* Modal asignacion de ingredientes */
.nombre_ingredienteCategoria{
    width: 50%;
    font-size: 17px;
    font-weight: bold;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.nombre_ingrediente{
    
    list-style-type: none;
    width: 100%;
    font-size: 17px;
    font-weight: bold;
    max-height: calc(1.4em * 3);
    overflow: hidden;
    display: flex;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.opciones_ingredientes {
    display: flex;
    flex-direction: column;
}

.nombre_ingredeinte {
    width: 50%;
    font-size: 17px;
    font-weight: bold;
}

.checkbox_ingrediente {
    width: 37%;
    display: flex;
    align-items: right;
    justify-content: center;
}

.div_icono_agregar_ingredientes {
    width: 100%;
    height: 50px;
    display: flex;
    margin-bottom: 8px;
}

.svg_color_con_ingredientes {
    fill: var(--color-primario);
}

.svg_color_sin_ingredientes {
    fill: #595959de;
}

.boton_agregar_ingredientes {
    width: 50%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 2%;
    padding-left: 0px;
}

.botones_ingredientes_extras {
    width: 28%;
    height: 50px;
    display: flex;
    align-items: end;
    flex-direction: column;
}

/*contenido extras  por productos*/
.div_producto {
    width: 100%;
    margin-top: 10px;
}

.titulo_producto {
    width: 100%;
    height: 50px;
    border-radius: 10px;
    background-color: #f0f0f0;
    text-align: center;
}

.titulo_producto p {
    color: var(--color-primario);
    font-size: 17px;
    font-weight: bold;
    padding: 13px;
    max-height: calc(1.1em * 2);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.nombre_extra{
    width: 50%;
    font-size: 17px;
    font-weight: bold;
    max-height: calc(1.4em * 3);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.precio_extra {
    width: 30%;
    font-size: 17px;
    font-weight: bold;
}

.checkbox_extra {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox_extra input[type="checkbox"],
.checkbox_extra input[type="radio"] {
    appearance: none; 
    -webkit-appearance: none; 
    -moz-appearance: none; 
    width: 20px; 
    height: 20px; 
    border-radius: 50%; 
    border: 2px solid #ccc; 
    outline: none; 
}

/* Estilos para el estado :checked */
.checkbox_extra input[type="checkbox"]:checked,
.checkbox_extra input[type="radio"]:checked {
    background-color: var(--color-primario);
}

/* Estilos para el estado :disabled */
.checkbox_extra input[type="checkbox"]:disabled,
.checkbox_extra input[type="radio"]:disabled {
    background-color: #f2f2f2;
    border-color: #e8e8e8;
}

.texto_titulo {
    font-size: 20px;
    color: var(--color-primario);
    font-weight: bold;
}

.texto_derecha {
    padding-left: 30%;
}

.txtarea {
    width: 90%;
    height: 25%;
    border: 10px;
    border-radius: 1rem;
    background-color: #e7e8e8de;
    color: var(--color-primario);
    margin-left: 5%;
    padding: 10px;
}

/*Modal asignacion de personas*/
.modal_persona_content{
    top: 0;
    width: 100%;
    height: 80%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    font-family: sans-serif;
    background-color: var(--color-primario);
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.content_row {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.div_svg {
   width: 90%;
   padding-left: 10%;
}

.div_svg svg {
    width: 127px;
    height: 132px;
}

.div_texto_personas {
    width: 90%;
    color: #FFF;
}

.titulo_texto_personas {
    font-size: 28px;
    font-weight: bold;
    text-align: justify;
}

.subtitulo_texto_personas {
    font-size: 18px;
    font-weight: bold;
    text-align: left;
}

.div_inputs_personas {
    width: 70%;
    height: 250px;
    margin-top: 10px;
    overflow: auto;
    margin-bottom: 10px;
}

.input_persona {
    width: 100%;
    height: 45px;
    border-radius: 10px;
    margin-top: 10px;
    border: none;
    padding: 10px;
}

.modal_persona_boton {
    width: 100%;
    height: 20%;
    display: flex;
    flex-direction: column;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    font-family: sans-serif;
    justify-content: center;
    align-items: center;
}

.texto_continuar{
    color: var(--color-primario);
    padding-left: 4%;
    width: 70%;
    margin-bottom: 7px;
    text-align: center;
}

.boton_realizar_pedido {
    width: 70%;
    height: 50px;
    background-color: var(--color-primario);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.icono_listo {
 width: 40px;
 height: 40px;
}

.texto_boton {
  margin: 0 auto;
  font-weight: bold;
}

.text_sin_extras {
    font-size: 5rem;
    text-align: center;
    margin-top: 20%;
}

/* Media query para ajustar estilos específicos para dispositivos iOS */
@media only screen and (min-device-width: 300px) and (max-device-width: 400px) {
  
    .div_svg {
        width: 120px;
        height: 120px;
    }

    .div_texto_personas {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .titulo_texto_personas {
        font-size: 24px;
        font-weight: bold;
        text-align: justify;
    }

    .content_row {
        width: 100%;
        display: flex;
        flex-direction: row;
    }

    .div_svg {
        width: 90%;
    }
    
    .icono_number{
        width: 17px;
        height: 17px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .mymodal_content_sin_descripcion {
        height: 18%;
    }

    .texto_personas {
        width: 25%
    }
    
    .restar_agregar_content {
        width: 48%;
    }

    .boton_agregar_extras .text_agregar {
        /* padding: 0; */
        padding-left: 5px;
        padding-top: 7px;
    }
}


.content_row_dos {
    width: 100%;
    display: flex;
    justify-content: end;
    margin-bottom: 25px;
}

.div_texto_personas_dos {
    width: 90%;
    color: #FFF;
    display: flex;
    justify-content: center;
}

.titulo_texto_personas_dos {
    font-size: 27px;
    font-weight: bold;
    text-align: center;
}

.div_descripcion_instrucciones{
    width: 90%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: justify;
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
}

.encabezado {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

.icono_agregas_mas_personas {
    width: 50px; 
    height: 50px;
    justify-content: center;
    vertical-align: middle;
    fill: var(--color-primario);
}

/*modal seleccionar sucursal*/
  
.modal_sucursales {
    position: absolute;
    top: 27%;
    width: 95%;
    height: 350px;
    left: 3%;
    z-index: 10;
    background-color: white;
    box-shadow: 0 0 0 50vmax rgba(0,0,0,.5);
    pointer-events: auto;
    border-radius: 8px;
    background-color: var(--color-primario);
    display: flex;
    justify-content: center;
    padding-top: 13%;
}

.sucursal_content {
    top: 0;
    width: 70%;
    height: 50%;
    font-family: sans-serif;
    border-radius: 8px;
    text-align: center;
    padding-bottom: 20px;
}

.text_select_sucursal {
    margin-bottom: 32px;
    color: #ffffff;
}

.btn_aceptar {
    width: 65%;
    height: 40px;
    margin-top: 30px;
    background-color: #ffffff;
    color: #000000;
    border: none;
}

.btn_aceptar:active {
    background-color: #000000;
    color: #ffffff;
}

.select2-container {
    width: 88% !important;
}

.select2-results__option {
    white-space: normal;
}

.select2-selection--single {
    height: 40px;
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    padding: 5px;
}

.select2-selection__rendered {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select2-container .select2-selection--single {
    height: 38px !important;
}

/* Modal producto fraccionado */
.modal_producto_fraccionado {
    position: absolute;
    top: 27%;
    width: 95%;
    height: 350px;
    left: 3%;
    z-index: 10;
    background-color: white;
    box-shadow: 0 0 0 50vmax rgba(0,0,0,.5);
    pointer-events: auto;
    border-radius: 8px;
    background-color: var(--color-primario);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Modal pedido cliente */
.contenido-pedidos {
    max-height: calc(100% - 69px);
    overflow-y: auto;
}


.card-pedido-cliente {
    width: 100%;
    max-height: 90%;
    background-color: var(--color-primario);
    border-radius: 8px;
    padding: 10px;
}

.nombre-cliente {
    font-size: 20px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
    max-width: 55%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cantidad-pedido {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-primario);
    margin-bottom: 10px;
    display: flex;
}

.cantidad-pedido input {
    width: 50px;
    height: 30px;
    font-size: 15px;
    font-weight: bold;
    border: none;
    text-align: center;
    background-color: #bfbfbf;
    border-radius: 0;
    -webkit-appearance: none;
}

.cantidad-pedido .btn-sumar-cantidad {
    border: none;
    /* redondeado del lado derecho */
    border-radius: 0 8px 8px 0;
}

.cantidad-pedido .btn-restar-cantidad {
    border: none;
    /* redondeado del lado izquierdo */
    border-radius: 8px 0 0 8px;
}

.cantidad-pedido .btn-fraccion{
    border: none;
    border-radius: 0 8px 8px 0;
}

.botones-personalizacion {
    margin-top: 10px;
}

.boton-personalizacion {
    background-color: transparent;
    border: none;
    color: black;
    font-size: 18px;
    font-weight: bold;
    padding: 1px;
    cursor: pointer;
}

.boton_personalizacion_svg {
    fill: #ffffff;
}

.boton_personalizacion_activo_svg {
    fill: #ff0000;
}


/* ajustar tamaño del svg: por defecto */
.boton-personalizacion svg {
    width: 65%;
    height: auto;
}

/* ajustar tamaño del svg en pantalas grandes */
@media only screen and (min-width: 1024px) {
    .boton-personalizacion svg {
        width: 65%
    }
}

/* ajustar tamaño del svg en pantalas medianas */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .boton-personalizacion svg {
        width: 65%
    }
}

/* ajustar tamaño del svg en pantalas pequeñas */
@media only screen and (max-width: 767px) {
    .boton-personalizacion svg {
        width: 72%
    }
}

/* ajustar tamañao del svg para celulares */
@media only screen and (max-width: 480px) {
    .boton-personalizacion svg {
        width: 103%
    }
}


.padre_div_descripcion {
    height: 4.4rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.div_precio_articulo{
    margin-top: 5px;
    padding-left: 8px;
    margin-bottom: 5px;
}

.div_precio_articulo p{
    margin: 0; 
    padding: 0;
    font-size: 22px;
    color: #fff;
    font-weight: bold;
}

/*botones de mas y menos en ingrediente*/
.ingr_combos_control {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ingr_combos_control .btn_sumar {
    /* Borde solo del lado izq */
    border-radius: 20px 0 0 20px;
    background-color: var(--color-primario);
    color: #fff;
    font-weight: bold;
    border: none;
}

.ingr_combos_control .btn_restar {
    /* Borde solo del lado derecho */
    border-radius: 0 20px 20px 0;
    background-color: var(--color-primario);
    color: #fff;
    font-weight: bold;
    border: none;
}

.btn_sumar svg, .btn_restar svg {
    fill: #fff;
    width: 10px;
    height: 18px;
}

.ingr_combos_control input {
    font-family: sans-serif;
    max-width: 2rem;
    padding: .5rem;
    font-size: 1rem;
    height: 25px;
    font-weight: bold;
    text-align: center;
    background-color: #afafaf;
    border: none;
    outline: none;
    border-radius: 0;
}

.acordion_elementos {
    background-color: var(--color-primario);
    color: var(--color-secundario) !important;
    width: 100%;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    padding: 8px;
}