.order-chat { position: fixed; right: 22px; bottom: calc(100px + env(safe-area-inset-bottom)); z-index: 150; font-family: 'Montserrat', sans-serif; }
.order-chat [hidden] { display: none !important; }
.order-chat button, .order-chat input, .order-chat a { font: inherit; }
.order-chat button { cursor: pointer; }
.order-chat button:focus-visible, .order-chat a:focus-visible, .order-chat input:focus-visible { outline: 3px solid #ffd16c; outline-offset: 3px; }
.order-chat__launcher { min-height: 50px; padding: 12px 20px; border: 1px solid #ffcc62; border-radius: 30px; background: linear-gradient(120deg,#ffc14b,#f08020); color: #241207; font-weight: 800 !important; box-shadow: 0 6px 30px #0008; }
.order-chat__panel { position: absolute; right: 0; bottom: 62px; display: flex; flex-direction: column; width: min(400px, calc(100vw - 28px)); height: min(650px, calc(100dvh - 185px)); min-height: 240px; overflow: hidden; border: 1px solid #9a642c; border-radius: 22px; background: #17100c; color: #fff5e8; box-shadow: 0 20px 70px #000b; }
.order-chat__header { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 10px; padding: 14px 15px; background: #2b1b11; border-bottom: 1px solid #624023; }
.order-chat__heading { min-width: 0; flex: 1 1 auto; }
.order-chat__header strong { display: block; font-size: 15px; color: #ffd16c; }
.order-chat__header small { display: block; font-size: 10px; margin-top: 5px; color: #e0ccb9; }
.order-chat__running-total { min-width: 102px; flex-shrink: 0; padding: 7px 10px; border: 1px solid #76502d; border-radius: 12px; background: #17100c; text-align: right; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.order-chat__running-total span { display: block; color: #d9b980; font-size: 9px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.order-chat__running-total strong { margin-top: 4px; color: #fff2d5; font-size: 14px; line-height: 1; white-space: nowrap; }
.order-chat__running-total.has-items { border-color: #f2b43e; background: #25170d; box-shadow: 0 0 0 2px #f2b43e22; }
.order-chat__header button { width: 40px; height: 40px; flex-shrink: 0; border: 1px solid #785538; border-radius: 50%; background: transparent; color: white; font-size: 25px; }
.order-chat__messages { flex: 1 1 45%; min-height: 90px; overflow-y: auto; padding: 15px; overscroll-behavior: contain; }
.order-chat__bubble { width: fit-content; max-width: 95%; margin: 0 0 12px; padding: 12px 14px; border-radius: 3px 15px 15px; background: #302218; color: #fff3e5; font-size: 12px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.order-chat__bubble--customer { margin-left: auto; background: #e8ad40; color: #211306; border-radius: 15px 3px 15px 15px; }
.order-chat__choices { display: flex; flex-direction: column; gap: 8px; flex: 0 1 auto; max-height: 45%; min-height: 0; overflow-y: auto; padding: 0 15px 12px; overscroll-behavior: contain; }
.order-chat__choices:empty { display: none; }
.order-chat__choices button { min-height: 44px; flex-shrink: 0; padding: 11px 13px; border: 1px solid #876030; border-radius: 10px; background: #23180f; color: #ffdc9c; font-size: 12px; line-height: 1.4; text-align: left; }
.order-chat__choices button:hover { background: #422a14; border-color: #ffce6e; }
.order-chat__form { display: flex; flex-shrink: 0; gap: 8px; padding: 12px; border-top: 1px solid #5a3d25; }
.order-chat__form input { min-width: 0; width: 100%; padding: 12px; border: 1px solid #8c6944; border-radius: 9px; background: #fff8ef; color: #241507; font-size: 16px; }
.order-chat__form button { padding: 10px; border: 0; border-radius: 9px; background: #ffc14b; color: #241207; font-size: 12px; font-weight: 800; }
.order-chat__footer { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px; padding: 12px; border-top: 1px solid #5a3d25; background: #20150e; }
.order-chat__footer button, .order-chat__footer a { min-height: 36px; display: inline-flex; align-items: center; padding: 6px; border: 0; background: transparent; color: #f8d79f; font-size: 10px; text-decoration: underline; }
.order-chat__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 600px) { .order-chat { right: 12px; bottom: calc(88px + env(safe-area-inset-bottom)); } .order-chat__panel { position: fixed; right: 10px; bottom: calc(88px + env(safe-area-inset-bottom)); width: calc(100vw - 20px); height: min(650px, calc(100dvh - 110px - env(safe-area-inset-bottom))); } .order-chat__launcher { font-size: 12px !important; min-height: 44px; } }
@media (max-width: 380px) { .order-chat__header { gap: 7px; padding: 12px 10px; } .order-chat__header small { display: none; } .order-chat__running-total { min-width: 88px; padding: 7px 8px; } .order-chat__running-total strong { font-size: 13px; } }
