/* ── Спринт 3: Переключатель времени (ASAP vs Ко времени), гость и Live Tracking ── */
.checkout-guest-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--panel, #F3F8FC);
  border: 1.5px solid var(--line, #D8DFE4);
  font-size: 13px;
  color: var(--ink, #101418);
  margin-bottom: 4px;
}
.checkout-guest-bar .cgb-label {
  color: var(--soft, #586470);
  font-weight: 600;
}
.checkout-guest-bar .cgb-phone {
  margin-left: auto;
  color: var(--soft, #586470);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.time-mode-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  background: var(--panel, #F3F8FC);
  border: 1.5px solid var(--line, #D8DFE4);
  margin: 4px 0;
}
.time-mode-seg .tms-btn {
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--soft, #586470);
  background: transparent;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.time-mode-seg .tms-btn.on {
  background: var(--btn-fire-bg, var(--flame));
  color: var(--btn-fire-color, #FFFFFF);
  box-shadow: var(--btn-fire-shadow, 0 2px 8px rgba(0, 0, 0, 0.12));
}

/* Модалка Live Tracking заказа */
#orderTrackModal {
  z-index: 1500;
}
.ot-card {
  text-align: center;
}
.ot-head-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--tint-success, #E5F5E9);
  color: var(--status-success, #2F7D4F);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}
.ot-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 16px 0;
  padding: 12px 8px;
  border-radius: 16px;
  background: var(--panel, #F3F8FC);
  border: 1.5px solid var(--line, #D8DFE4);
}
.ot-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.45;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.ot-step.done {
  opacity: 1;
}
.ot-step.active {
  opacity: 1;
  transform: scale(1.05);
}
.ot-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card, #FFFFFF);
  border: 2px solid var(--line, #D8DFE4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.ot-step.done .ot-dot {
  background: var(--tint-success, #E5F5E9);
  border-color: var(--status-success, #2F7D4F);
}
.ot-step.active .ot-dot {
  background: var(--btn-fire-bg, var(--flame));
  border-color: var(--btn-fire-bg, var(--flame));
  color: var(--btn-fire-color, #FFFFFF);
}
.ot-lbl {
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink, #101418);
}
.ot-items-box {
  text-align: left;
  background: var(--card, #FFFFFF);
  border: 1.5px solid var(--line, #D8DFE4);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ot-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink, #101418);
}
.ot-total-row {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1.5px dashed var(--line, #D8DFE4);
  font-size: 15px;
}
.ot-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ot-actions .btn {
  width: 100%;
}

