.select-platos {
    position: fixed;
    bottom: 80px;
    right: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    padding: 15px;
    border-radius: 20px;
    line-height: 20px;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    cursor: pointer;
    transition: transform 200ms ease-in-out, border 200ms ease-in-out, box-shadow 200ms ease-in-out;
    z-index: 100;
}

.select-platos:hover {
    transform: scale(1.05);
    border: 3px solid var(--color-secundario);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.select-platos.pedir {
    color: var(--color-principal);
    background-color: var(--color-secundario);
    border: 3px solid var(--color-principal);
}

.select-platos.nopedir {
    color: var(--color-principal);
    border: 3px solid var(--color-principal);
    background-color: white;
}

.select-platos span {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/*---------------MODO PEDIDOS---------------*/
.lista-pedido {
    position: fixed;
    bottom: 0;
    background-color: white;
    border: 1px solid var(--color-acento);
    border-radius: 12px 12px 0 0;
    visibility: hidden;
    opacity: 0;
    width: 100%;
    max-width: 600px;
    display: flex;
    box-shadow: 0px -5px 20px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 100;
}

.lista-pedido.behind-modal {
    opacity: 0.4;
    pointer-events: none;
    transform: translateY(0);
}

.lista-pedido.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.handle {
    width: 40px;
    height: 6px;
    background: #bbb;
    border-radius: 10px;
    margin: 10px auto;
}

.lista-pedido .lista-header {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-acento);
    border-bottom: 1px solid var(--color-acento);
    padding: 6px 0;
}

.lista-pedido .lista-platos {
    display: flex;
    flex-direction: column;
    max-height: 40vh;
    overflow-y: auto;
    gap: 6px;
    margin: 6px;
    transition: all ease-in-out 200ms;
}

.lista-platos.oculto {
    max-height: 0;
    overflow: hidden;
}

.lista-platos .lista-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px;
    border-radius: 8px;
    transition: background 150ms ease;
}

.lista-platos .lista-item:hover {
    background-color: rgba(0,0,0,0.04);
}

.lista-item .info {
    display: flex;
    width: auto;
    justify-content: start;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
    gap: 6px;
    flex: 3;
}

.info img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 6px;
}

.info h3 {
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 60%;
    min-width: 0;
    max-width: 400px;
    overflow: hidden;
    line-height: 1.1rem;
    font-size: 1.05rem;
}

.lista-item .actions {
    display: flex;
    flex: 1;
    gap: 6px;
    padding: 5px;
    justify-content: end;
}

.actions button {
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 8px;
    padding: 4px 6px;
    background: var(--color-principal);
    color: white;
    cursor: pointer;
    transition: transform 150ms ease, background 150ms ease;
}

.actions button:hover {
    transform: scale(1.1);
    background: var(--color-acento);
}

.lista-precio {
    border-top: 1px solid var(--borde-suave);
    border-radius: 10px 10px 0 0;
    padding: 10px 16px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lista-precio span {
    color: var(--color-acento);
}

.lista-footer button {
    background-color: var(--color-acento);
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 6px;
    width: 100%;
    height: 50px;
    border: none;
    cursor: pointer;
    transition: background 200ms ease;
}

.lista-footer button:hover {
    background-color: var(--color-secundario);
}

.modo-pedido .plato-card,
.modo-pedido .promocion-card {
    cursor: pointer;
    border: 2px dashed var(--color-secundario);
    transition: all 0.2s ease-in-out;
}

.modo-pedido .plato-card:hover,
.modo-pedido .promocion-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    background-color: rgba(255, 217, 90, 0.08);
}