/* PITITTO'S · la chat d'ordine a telefono (prenota.js): velo pieno, telefono al centro, bolle come su WhatsApp */
.ordina { position: fixed; inset: 0; z-index: 800; background: rgba(74, 18, 16, .94); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ordina[hidden] { display: none; }
html.ordina-aperta { overflow: hidden; }
.or-telefono { position: relative; width: min(400px, 100%); height: min(680px, calc(100vh - 32px)); height: min(680px, calc(100svh - 32px)); background: #EFE4D2; border-radius: 30px; overflow: hidden; box-shadow: 0 14px 0 rgba(0, 0, 0, .25); }
.or-chiudi { position: absolute; right: 10px; top: 9px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; color: #FFF4DE; font-size: 30px; line-height: 1; }
#or-corpo, .mo-app { height: 100%; }
.mo-app { display: flex; flex-direction: column; font-family: var(--txt); color: #2a1a12; }
.mo-app-testa { flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 60px 12px 16px; background: #B72925; color: #FFF4DE; }
.mo-avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #B72925; border: 2px solid #FFEA4F; color: #FFEA4F; display: flex; align-items: center; justify-content: center; }
.mo-avatar .lo { width: 78%; }
.mo-app-testa b { display: block; font-family: var(--tit); font-weight: 800; font-size: 20px; line-height: 1.1; }
.mo-app-testa span span, .mo-app-testa div span { font-weight: 700; font-size: 13px; opacity: .92; }
.mo-app-corpo { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 12px 8px; display: flex; flex-direction: column; gap: 7px; background: #EFE4D2 radial-gradient(rgba(183, 41, 37, .07) 1.5px, transparent 1.6px) 0 0 / 22px 22px; }
.mo-data { align-self: center; background: #fff; border-radius: 9px; padding: 3px 12px; font-weight: 700; font-size: 12px; color: #6b5a4c; }
.mo-m { max-width: 84%; padding: 8px 12px 7px; border-radius: 14px; font-weight: 600; font-size: 16px; line-height: 1.32; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); word-wrap: break-word; }
.mo-m i { display: block; font-style: normal; text-align: right; font-size: 12px; color: #7b6a5c; margin-top: 2px; }
.mo-m.loro { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.mo-m.mio { align-self: flex-end; background: #FFE9A6; border-top-right-radius: 4px; }
.mo-m.mio i { color: #6f5a1c; }
.mo-m.scrive { display: flex; gap: 5px; padding: 13px 14px; }
.mo-m.scrive span { width: 8px; height: 8px; border-radius: 50%; background: #b9a999; animation: mo-punti 1s infinite; }
.mo-m.scrive span:nth-child(2) { animation-delay: .15s; } .mo-m.scrive span:nth-child(3) { animation-delay: .3s; }
@keyframes mo-punti { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.mo-app-piede { flex: none; padding: 10px 12px 14px; background: #F7EEDF; border-top: 1px solid rgba(74, 18, 16, .12); min-height: 74px; }
.mo-rapide { display: flex; flex-wrap: wrap; gap: 8px; }
.mo-rapida { min-height: 46px; padding: 0 16px; border-radius: 999px; background: #fff; border: 2px solid #B72925; color: #B72925; font-weight: 800; font-size: 16px; }
.mo-rapida:hover { background: #B72925; color: #FFF4DE; }
.mo-nome { display: flex; gap: 8px; }
.mo-nome input { flex: 1; min-width: 0; min-height: 50px; border-radius: 999px; border: 2px solid rgba(74, 18, 16, .3); background: #fff; padding: 0 18px; font: 700 17px var(--txt); color: #2a1a12; }
.mo-nome button { min-height: 50px; padding: 0 20px; border-radius: 999px; background: #B72925; color: #FFF4DE; font-weight: 800; font-size: 16px; }
.mo-fine { display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: center; }
.mo-vai { display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 999px; background: #FFEA4F; color: #4A1210; font-weight: 800; font-size: 18px; text-decoration: none; box-shadow: 0 5px 0 rgba(74, 18, 16, .25); }
.mo-alt { font-weight: 800; font-size: 15px; color: #B72925; padding: 6px; }
.mo-ric { font-weight: 700; font-size: 14px; color: #6b5a4c; text-decoration: underline; min-height: 32px; }
.mo-esito { font-weight: 700; font-size: 13px; color: #6b5a4c; }
@media (prefers-reduced-motion: reduce) { .mo-m.scrive span { animation: none; } }
