/* v611 Customer Voice Ordering — Phase 2
   Compact, responsive voice control layered on top of the v610 menu resolver.
   Customer-only. No checkout/KDS/staff layout rules live here. */
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .search-box{
  position:relative;
}
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .search-box #menu-search{
  min-width:0;
}
.customer-voice-button-v611{
  flex:0 0 auto;
  width:40px;
  height:40px;
  min-width:40px;
  min-height:40px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:999px;
  background:rgba(124,45,18,.08);
  color:#7c2d12;
  cursor:pointer;
  transition:transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.customer-voice-button-v611:hover,
.customer-voice-button-v611:focus-visible{
  background:rgba(124,45,18,.14);
  box-shadow:0 0 0 3px rgba(180,83,9,.15);
  outline:0;
}
.customer-voice-button-v611:active{transform:scale(.96)}
.customer-voice-button-v611 svg{width:21px;height:21px;display:block;fill:currentColor}
.customer-voice-button-v611.is-listening-v611{
  color:#fff;
  background:#7c2d12;
  animation:customerVoicePulseV611 1.15s ease-in-out infinite;
}
@keyframes customerVoicePulseV611{
  0%,100%{box-shadow:0 0 0 0 rgba(124,45,18,.28)}
  50%{box-shadow:0 0 0 8px rgba(124,45,18,0)}
}
.customer-voice-assistant-v611{
  margin:-6px 0 14px;
  width:100%;
  max-width:100%;
  border:1px solid rgba(180,83,9,.18);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(255,251,235,.96),rgba(255,255,255,.98));
  padding:10px 12px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:9px;
  align-items:start;
  box-shadow:0 8px 24px rgba(69,26,3,.06);
}
.customer-voice-assistant-v611[hidden]{display:none!important}
.customer-voice-assistant-v611 .voice-mark-v611{
  width:28px;height:28px;border-radius:999px;display:grid;place-items:center;
  background:#7c2d12;color:#fff;font-size:14px;font-weight:900;
}
.customer-voice-assistant-v611 .voice-copy-v611{min-width:0}
.customer-voice-assistant-v611 .voice-transcript-v611{
  display:block;
  color:#92400e;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  margin-bottom:2px;
}
.customer-voice-assistant-v611 .voice-response-v611{
  display:block;
  color:#292524;
  font-size:14px;
  line-height:1.35;
  font-weight:750;
  overflow-wrap:anywhere;
}
.customer-voice-assistant-v611.is-error-v611{
  border-color:rgba(185,28,28,.22);
  background:#fff7f7;
}
.customer-voice-assistant-v611.is-error-v611 .voice-mark-v611{background:#991b1b}
.customer-voice-assistant-v611.is-success-v611{
  border-color:rgba(21,128,61,.18);
  background:#f7fff9;
}
.customer-voice-assistant-v611.is-success-v611 .voice-mark-v611{background:#166534}
.customer-voice-highlight-v611{
  outline:3px solid rgba(180,83,9,.28)!important;
  outline-offset:3px!important;
}
@media(max-width:720px){
  .customer-voice-button-v611{width:44px;height:44px;min-width:44px;min-height:44px}
  .customer-voice-assistant-v611{margin:-2px 0 12px;padding:9px 10px;border-radius:14px}
  .customer-voice-assistant-v611 .voice-response-v611{font-size:13px}
}
@media(max-width:380px){
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .search-box{padding-left:10px;padding-right:8px}
  .customer-voice-button-v611{width:42px;height:42px;min-width:42px;min-height:42px}
}
@media(prefers-reduced-motion:reduce){
  .customer-voice-button-v611{transition:none}
  .customer-voice-button-v611.is-listening-v611{animation:none}
}
